Hi Lukas,

I've looked into this and cannot figure what you were trying to
achieve with the --MTCompositeViewer. From what I see you have an
unshown class that holds the CompositeViewer who's views are build on
each QOSGWidget graphic context you've built ?

If this is correct how using moc would change anything ?


Mathieu



2008/10/29 Mathieu MARACHE <[EMAIL PROTECTED]>:
> Hi Robert, Lukas
>
> I will look into this ASAP,
>
> Mathieu
>
>
>
> 2008/10/29 Robert Osfield <[EMAIL PROTECTED]>:
>> 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
>>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to