Hi,

I've downloaded the new version (3.2.1) and built it with support for Qt 4.8.

When I tried to use the libs in my app (which worked fine with version 3.0.1) I 
got two errors.

First one, from QGraphicsWindowQt:


Code:
GraphicsWindowQt:24:21: fatal error: QGLWidget: No such file or directory



I solved this changing the include QGLWidget to QtOpenGL/QGLWidget.

Second one and still there, it happened when running the app:


Code:
QPixmap: Must construct a QApplication before a QPaintDevice



In my code where I use OSG, there's no call to QPixmap. I use other things from 
Qt, like QPolygon and QDialog, but no explicitly call to QPixmap.

And as I said, this worked fine with version 3.0.1.

The app crashes when doing this call:


Code:
camera->setViewport(new osgQt::GraphicsWindowQt( traits.get() ) )



Any help will be appreciated.
... 

Thanks and cheers!
Andrés[/i]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61111#61111





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to