[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 11:36:23 PST 2015

loopy wrote:
> Hi,
> 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?

OK, I sorted this one out. It was confusion over 'old ways' to use OSG/QT and the new, improved ways to do this.

Read this topic online here:

More information about the osg-users mailing list