[osg-users] fatal error: QGLWidget: No such file or directory

Robert Osfield robert.osfield at gmail.com
Tue Nov 3 01:37:31 PST 2015


Hi Tom,

My guess is that you have a partial Qt install, or have only partially set
up the CMake Qt variables to allow the OSG to find them.

Robert.

On 3 November 2015 at 08:46, Tom <tom.elssjo at hotmail.com> wrote:

> Hello, I got issues with compiling Open Scene Graph rev 15172. I got
> errors about that QGLWidget cannot be found. From what I can see on the net
> I to add a line in a .pro file but I cannot find any such files. Please
> help me.
>
> Output of compilation:
>
> [  0%] Built target OpenThreads
> [ 11%] Built target osg
> [ 13%] Built target osgUtil
> [ 16%] Built target osgDB
> [ 17%] Built target osgGA
> [ 18%] Built target osgText
> [ 20%] Built target osgViewer
> [ 22%] Built target osgAnimation
> [ 23%] Built target osgFX
> [ 25%] Built target osgManipulator
> [ 26%] Built target osgParticle
> [ 27%] Built target osgUI
> [ 28%] Built target osgVolume
> [ 30%] Built target osgShadow
> [ 31%] Built target osgSim
> [ 32%] Built target osgTerrain
> [ 33%] Built target osgWidget
> [ 34%] Built target osgPresentation
> [ 42%] Built target osgdb_serializers_osg
> [ 43%] Built target osgdb_serializers_osgutil
> [ 46%] Built target osgdb_serializers_osganimation
> [ 46%] Built target osgdb_serializers_osgfx
> [ 47%] Built target osgdb_serializers_osgmanipulator
> [ 50%] Built target osgdb_serializers_osgparticle
> [ 51%] Built target osgdb_serializers_osgsim
> [ 53%] Built target osgdb_serializers_osgshadow
> [ 54%] Built target osgdb_serializers_osgga
> [ 55%] Built target osgdb_serializers_osgterrain
> [ 55%] Built target osgdb_serializers_osgtext
> [ 57%] Built target osgdb_serializers_osgvolume
> [ 57%] Built target osgdb_serializers_osgviewer
> [ 58%] Built target osgdb_serializers_osgui
> [ 64%] Built target osgdb_deprecated_osg
> [ 67%] Built target osgdb_deprecated_osgparticle
> [ 68%] Built target osgdb_deprecated_osganimation
> [ 68%] Built target osgdb_deprecated_osgfx
> [ 69%] Built target osgdb_deprecated_osgsim
> [ 69%] Built target osgdb_deprecated_osgtext
> [ 69%] Built target osgdb_deprecated_osgviewer
> [ 69%] Built target osgdb_deprecated_osgshadow
> [ 70%] Built target osgdb_deprecated_osgterrain
> [ 71%] Built target osgdb_deprecated_osgvolume
> [ 72%] Built target osgdb_deprecated_osgwidget
> [ 72%] Built target osgdb_osga
> [ 72%] Built target osgdb_rot
> [ 72%] Built target osgdb_scale
> [ 72%] Built target osgdb_trans
> [ 72%] Built target osgdb_normals
> [ 72%] Built target osgdb_revisions
> [ 72%] Built target osgdb_osgviewer
> [ 72%] Built target osgdb_osgshadow
> [ 72%] Built target osgdb_osgterrain
> [ 72%] Built target osgdb_osg
> [ 81%] Built target osgdb_ive
> [ 82%] Built target osgdb_cfg
> [ 82%] Built target osgdb_glsl
> [ 82%] Built target osgdb_rgb
> [ 82%] Built target osgdb_bmp
> [ 82%] Built target osgdb_pnm
> [ 82%] Built target osgdb_dds
> [ 82%] Built target osgdb_tga
> [ 82%] Built target osgdb_hdr
> [ 82%] Built target osgdb_dot
> [ 82%] Built target osgdb_vtf
> [ 82%] Built target osgdb_ktx
> [ 82%] Built target osgdb_jpeg
> [ 82%] Built target osgdb_png
> [ 82%] Built target osgdb_tiff
> [ 82%] Built target osgdb_3dc
> [ 82%] Built target osgdb_p3d
> [ 82%] Built target osgdb_curl
> [ 82%] Built target osgdb_gz
> [ 82%] Built target osgdb_dw
> [ 82%] Built target osgdb_bvh
> [ 82%] Built target osgdb_x
> [ 83%] Built target osgdb_dxf
> [ 85%] Built target osgdb_openflight
> [ 85%] Built target osgdb_obj
> [ 85%] Built target osgdb_pic
> [ 85%] Built target osgdb_stl
> [ 87%] Built target osgdb_3ds
> [ 87%] Built target osgdb_ac
> [ 88%] Built target osgdb_pov
> [ 88%] Built target osgdb_logo
> [ 88%] Built target osgdb_lws
> [ 88%] Built target osgdb_md2
> [ 88%] Built target osgdb_osgtgz
> [ 88%] Built target osgdb_tgz
> [ 88%] Built target osgdb_shp
> [ 88%] Built target osgdb_txf
> [ 88%] Built target osgdb_bsp
> [ 89%] Built target osgdb_mdl
> [ 89%] Built target osgdb_gles
> [ 90%] Built target osgdb_osgjs
> [ 91%] Built target osgdb_lwo
> [ 91%] Built target osgdb_ply
> [ 93%] Built target osgdb_txp
> [ 94%] Built target osgdb_gstreamer
> [ 94%] Built target osgdb_freetype
> [ 95%] Built target osgdb_zip
> [ 95%] Built target osgdb_pvr
> [ 96%] Built target osgdb_osc
> [ 97%] Built target osgdb_trk
> [ 97%] Built target osgdb_tf
> [ 99%] Built target osgdb_lua
> Scanning dependencies of target osgQt
> [ 99%] Building CXX object
> src/osgQt/CMakeFiles/osgQt.dir/GraphicsWindowQt.o
> In file included from
> /home/jatech/Annat/openscenegraph/OpenSceneGraph/src/osgQt/GraphicsWindowQt.cpp:15:0:
> /home/jatech/Annat/openscenegraph/OpenSceneGraph/include/osgQt/GraphicsWindowQt:17:21:
> fatal error: QGLWidget: No such file or directory
>  #include <QGLWidget>
>                      ^
> compilation terminated.
> make[2]: *** [src/osgQt/CMakeFiles/osgQt.dir/GraphicsWindowQt.o] Error 1
> make[1]: *** [src/osgQt/CMakeFiles/osgQt.dir/all] Error 2
> make: *** [all] Error 2
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151103/860df156/attachment-0003.htm>


More information about the osg-users mailing list