<div dir="ltr">I'm using -DQT_QMAKE_EXECUTABLE="/path/to/qmake", and letting cmake do the rest, the cmake documentation for 'FindQt4.cmake' or 'FindQt5.cmake' should also be helpful as it's the 'correct' way to do things<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 November 2015 at 11:53, 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">How can I point the OSG build to use the Qt package I installed on my user instead of the system wide one? Is it something about QT_INSTALL_PREFIX?<br><br><div><hr>Date: Tue, 3 Nov 2015 11:35:48 +0000<br>From: <a href="mailto:gfrancis.dev@gmail.com" target="_blank">gfrancis.dev@gmail.com</a><br>To: <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>Subject: Re: [osg-users]  fatal error: QGLWidget: No such file or directory‏<div><div class="h5"><br><br><div dir="ltr"><div> Ah, I think qtopengl is in a separate package, try libqt4opengl-dev or libqt5opengl-dev<br><br></div>As for which version you need I know OSG can build against either, but I've only ever tried with 4.<br></div><div><br><div>On 3 November 2015 at 11:21, Tom <span dir="ltr"><<a href="mailto:tom.elssjo@hotmail.com" target="_blank">tom.elssjo@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hello, the CMakeCache.txt do not have QT_QTOPENGL_INCLUDE_DIR or QT_QTOPENGL_LIBRARY.<br>I used the Linux Mint / Ubuntu apt-get qtbase5-dev package.<br><br>I can try to build qt instead. Do I need qt version 4 or 5?<br>                                     </div></div>
<br>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">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>--------------------<br>Gareth Francis<br><a href="http://www.gfrancisdev.co.uk" target="_blank">www.gfrancisdev.co.uk</a><br></div>
</div>
<br>_______________________________________________
osg-users mailing list
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a></div></div></div>                                     </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>