[osg-users] Migration from OSG 3.1.5 to 3.4.0 / Qt 4 to Qt 5

Andrew Cunningham andrewC at mac.com
Thu Dec 31 10:39:24 PST 2015

I am struggling mightily to get OSG 3.4.0 to work with QT 5.4.2 on Windows 7 (64).

- The sample application,  OSGViewerQT works as expected with OSG_FILE_PATH set.

- However, when I ( as a quick test) embed the "ViewerWidget" from OSGViewerQT inside a QHBoxLayout inside a MainWindow, the ViewerWidget does not show any geometry ( e.g. the "cow.osgt" etc). Interestingly the "popupWidget" that displays the "truck" geometry works as expected - presumably as it is a separate Window. So there is some issue with embedding the OSG Widget(s) inside other QWidgets?

Any ideas???


Read this topic online here:

More information about the osg-users mailing list