<div dir="ltr"><div><div><div>Look in CMakeCache.txt, what's the value of:<br></div>QT_QTOPENGL_INCLUDE_DIR<br></div>QT_QTOPENGL_LIBRARY<br><br></div>Also it might be a silly question, but do you have a copy of the Qt source code somewhere for OSG to find?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 November 2015 at 08:46, Tom <span dir="ltr"><<a href="mailto:tom.elssjo@hotmail.com" target="_blank">tom.elssjo@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">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.<br><br>Output of compilation:<br><br>[  0%] Built target OpenThreads<br>[ 11%] Built target osg<br>[ 13%] Built target osgUtil<br>[ 16%] Built target osgDB<br>[ 17%] Built target osgGA<br>[ 18%] Built target osgText<br>[ 20%] Built target osgViewer<br>[ 22%] Built target osgAnimation<br>[ 23%] Built target osgFX<br>[ 25%] Built target osgManipulator<br>[ 26%] Built target osgParticle<br>[ 27%] Built target osgUI<br>[ 28%] Built target osgVolume<br>[ 30%] Built target osgShadow<br>[ 31%] Built target osgSim<br>[ 32%] Built target osgTerrain<br>[ 33%] Built target osgWidget<br>[ 34%] Built target osgPresentation<br>[ 42%] Built target osgdb_serializers_osg<br>[ 43%] Built target osgdb_serializers_osgutil<br>[ 46%] Built target osgdb_serializers_osganimation<br>[ 46%] Built target osgdb_serializers_osgfx<br>[ 47%] Built target osgdb_serializers_osgmanipulator<br>[ 50%] Built target osgdb_serializers_osgparticle<br>[ 51%] Built target osgdb_serializers_osgsim<br>[ 53%] Built target osgdb_serializers_osgshadow<br>[ 54%] Built target osgdb_serializers_osgga<br>[ 55%] Built target osgdb_serializers_osgterrain<br>[ 55%] Built target osgdb_serializers_osgtext<br>[ 57%] Built target osgdb_serializers_osgvolume<br>[ 57%] Built target osgdb_serializers_osgviewer<br>[ 58%] Built target osgdb_serializers_osgui<br>[ 64%] Built target osgdb_deprecated_osg<br>[ 67%] Built target osgdb_deprecated_osgparticle<br>[ 68%] Built target osgdb_deprecated_osganimation<br>[ 68%] Built target osgdb_deprecated_osgfx<br>[ 69%] Built target osgdb_deprecated_osgsim<br>[ 69%] Built target osgdb_deprecated_osgtext<br>[ 69%] Built target osgdb_deprecated_osgviewer<br>[ 69%] Built target osgdb_deprecated_osgshadow<br>[ 70%] Built target osgdb_deprecated_osgterrain<br>[ 71%] Built target osgdb_deprecated_osgvolume<br>[ 72%] Built target osgdb_deprecated_osgwidget<br>[ 72%] Built target osgdb_osga<br>[ 72%] Built target osgdb_rot<br>[ 72%] Built target osgdb_scale<br>[ 72%] Built target osgdb_trans<br>[ 72%] Built target osgdb_normals<br>[ 72%] Built target osgdb_revisions<br>[ 72%] Built target osgdb_osgviewer<br>[ 72%] Built target osgdb_osgshadow<br>[ 72%] Built target osgdb_osgterrain<br>[ 72%] Built target osgdb_osg<br>[ 81%] Built target osgdb_ive<br>[ 82%] Built target osgdb_cfg<br>[ 82%] Built target osgdb_glsl<br>[ 82%] Built target osgdb_rgb<br>[ 82%] Built target osgdb_bmp<br>[ 82%] Built target osgdb_pnm<br>[ 82%] Built target osgdb_dds<br>[ 82%] Built target osgdb_tga<br>[ 82%] Built target osgdb_hdr<br>[ 82%] Built target osgdb_dot<br>[ 82%] Built target osgdb_vtf<br>[ 82%] Built target osgdb_ktx<br>[ 82%] Built target osgdb_jpeg<br>[ 82%] Built target osgdb_png<br>[ 82%] Built target osgdb_tiff<br>[ 82%] Built target osgdb_3dc<br>[ 82%] Built target osgdb_p3d<br>[ 82%] Built target osgdb_curl<br>[ 82%] Built target osgdb_gz<br>[ 82%] Built target osgdb_dw<br>[ 82%] Built target osgdb_bvh<br>[ 82%] Built target osgdb_x<br>[ 83%] Built target osgdb_dxf<br>[ 85%] Built target osgdb_openflight<br>[ 85%] Built target osgdb_obj<br>[ 85%] Built target osgdb_pic<br>[ 85%] Built target osgdb_stl<br>[ 87%] Built target osgdb_3ds<br>[ 87%] Built target osgdb_ac<br>[ 88%] Built target osgdb_pov<br>[ 88%] Built target osgdb_logo<br>[ 88%] Built target osgdb_lws<br>[ 88%] Built target osgdb_md2<br>[ 88%] Built target osgdb_osgtgz<br>[ 88%] Built target osgdb_tgz<br>[ 88%] Built target osgdb_shp<br>[ 88%] Built target osgdb_txf<br>[ 88%] Built target osgdb_bsp<br>[ 89%] Built target osgdb_mdl<br>[ 89%] Built target osgdb_gles<br>[ 90%] Built target osgdb_osgjs<br>[ 91%] Built target osgdb_lwo<br>[ 91%] Built target osgdb_ply<br>[ 93%] Built target osgdb_txp<br>[ 94%] Built target osgdb_gstreamer<br>[ 94%] Built target osgdb_freetype<br>[ 95%] Built target osgdb_zip<br>[ 95%] Built target osgdb_pvr<br>[ 96%] Built target osgdb_osc<br>[ 97%] Built target osgdb_trk<br>[ 97%] Built target osgdb_tf<br>[ 99%] Built target osgdb_lua<br>Scanning dependencies of target osgQt<br>[ 99%] Building CXX object src/osgQt/CMakeFiles/osgQt.dir/GraphicsWindowQt.o<br>In file included from /home/jatech/Annat/openscenegraph/OpenSceneGraph/src/osgQt/GraphicsWindowQt.cpp:15:0:<br>/home/jatech/Annat/openscenegraph/OpenSceneGraph/include/osgQt/GraphicsWindowQt:17:21: fatal error: QGLWidget: No such file or directory<br> #include <QGLWidget><br>                     ^<br>compilation terminated.<br>make[2]: *** [src/osgQt/CMakeFiles/osgQt.dir/GraphicsWindowQt.o] Error 1<br>make[1]: *** [src/osgQt/CMakeFiles/osgQt.dir/all] Error 2<br>make: *** [all] Error 2<br><br>                                           </div></div>
<br>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">--------------------<br>Gareth Francis<br><a href="http://www.gfrancisdev.co.uk" target="_blank">www.gfrancisdev.co.uk</a><br></div>
</div>