Hi Mathieue and Lukas,

> That's /easy/ with cmake and Qt4. Here's the setup :
> your class MyWidget is declared inside file MyWidget.h and using the
> Q_OBJECT macro.
> your implementation goes into MyWidget.cpp and includes a non-existent
> file called MyWidget.moc.
>
> calling QT4_AUTOMOC(MyWidget.cpp) from the CMakeLists.txt will make
> the magic happen...

I'm open to seeing such a change made to the osgviewerQT example, I'm
now QT expert so I'll have to leave implementation up to you guys.

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to