[osg-submissions] Fix for /examples/osgviewerQT/AdapterWidget.cpp to compile with Qt 3.3.6

Shue, John A John.Shue at ManTech.com
Wed Apr 16 21:41:48 PDT 2008


Robert,

Latest svn failed to compile on FreeBSD 6.2-STABLE with Qt 3.3.6
installed.

Attached AdapterWidget.cpp file fixes compile problems with Qt 3.3.6
which were caused by the use of QMdiArea class which was introduced in
Qt 4.3 (http://doc.trolltech.com/4.4rc1/qmdiarea.html).

I'm not a Qt expert, but it appears that the use of QMdiArea class in
this example will likely cause problems for people with Qt versions 4.0
to 4.2 as the USE_QT4 preprocessor definition appears to be defined for
any Qt version 4.x...

-john
This communication, along with any attachments, is covered by federal and state law governing electronic communications and may contain company proprietary and legally privileged information.  
If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, use or copying of this message is strictly prohibited.  
If you have received this in error, please reply immediately to the sender and delete this message.  Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AdapterWidget.cpp
Type: application/octet-stream
Size: 9075 bytes
Desc: AdapterWidget.cpp
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080417/4e1e6bf8/attachment-0001.obj 


More information about the osg-submissions mailing list