[osg-users] fatal error: QGLWidget: No such file or directory
Tom
tom.elssjo at hotmail.com
Tue Nov 3 04:12:57 PST 2015
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:
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
QT_QMAKE_EXECUTABLE
Date: Tue, 3 Nov 2015 11:59:55 +0000
From: gfrancis.dev at gmail.com
To: osg-users at lists.openscenegraph.org
Subject: Re: [osg-users] fatal error: QGLWidget: No such file or directory
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 <tom.elssjo at hotmail.com> 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: gfrancis.dev at gmail.com
To: osg-users at lists.openscenegraph.org
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 <tom.elssjo at hotmail.com> 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
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
--------------------
Gareth Francis
www.gfrancisdev.co.uk
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
--------------------
Gareth Francis
www.gfrancisdev.co.uk
_______________________________________________
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/795d1182/attachment-0003.htm>
More information about the osg-users
mailing list