Re: [osg-users] fatal error: QGLWidget: No such file or directory
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@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] fatal error: QGLWidget: No such file or directory
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 + From: gfrancis@gmail.com To: osg-users@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.els...@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 + From: gfrancis@gmail.com To: osg-users@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.els...@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@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@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@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@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
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.els...@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 + > From: gfrancis@gmail.com > To: osg-users@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.els...@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@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@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ___ > osg-users mailing list > osg-users@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@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
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, Tomwrote: > 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@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@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] fatal error: QGLWidget: No such file or directory
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 + From: gfrancis@gmail.com To: osg-users@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.els...@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@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@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org