<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>You mean cmake ../OpenSceneGraph/ -DQT_QMAKE_EXECUTABLE="/path/to/Qt/5.5/gcc_64/bin/qmake"? I do not think it worked because I got this:<br><br>-- Configuring done<br>-- Generating done<br>CMake Warning:<br> Manually-specified variables were not used by the project:<br><br> QT_QMAKE_EXECUTABLE<br><br><br><div><hr id="stopSpelling">Date: Tue, 3 Nov 2015 11:59:55 +0000<br>From: gfrancis.dev@gmail.com<br>To: osg-users@lists.openscenegraph.org<br>Subject: Re: [osg-users] fatal error: QGLWidget: No such file or directoryþ<br><br><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="ecxgmail_extra"><br><div class="ecxgmail_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="ecxgmail_quote" style="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="ecxgmail_signature">--------------------<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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</div> </div></body>
</html>