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
On 3 November 2015 at 11:53, Tom <[email protected]> wrote: > 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? > > ------------------------------ > Date: Tue, 3 Nov 2015 11:35:48 +0000 > From: [email protected] > To: [email protected] > Subject: Re: [osg-users] fatal error: QGLWidget: No such file or directory > > > Ah, I think qtopengl is in a separate package, try libqt4opengl-dev or > libqt5opengl-dev > > As for which version you need I know OSG can build against either, but > I've only ever tried with 4. > > On 3 November 2015 at 11:21, Tom <[email protected]> wrote: > > Hello, the CMakeCache.txt do not have QT_QTOPENGL_INCLUDE_DIR or > QT_QTOPENGL_LIBRARY. > I used the Linux Mint / Ubuntu apt-get qtbase5-dev package. > > I can try to build qt instead. Do I need qt version 4 or 5? > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > -- > -------------------- > Gareth Francis > www.gfrancisdev.co.uk > > _______________________________________________ osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- -------------------- Gareth Francis www.gfrancisdev.co.uk
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

