View Full Version : QT + Opengl: how?
piratenaapje
May 13th, 2008, 02:35 PM
I'm trying to compile a qt4 program with opengl functions in c++. I installed freeglut3-dev, libqt4-opengl and libqt4-opengl. Still, there isn't a /usr/include/qt4/OpenGL dir, and I get the following errors:
error: QGLWidget: No such file or directory
error: qgl.h: No such file or directory
Any ideas on what packages I should install to fix this?
GeneralZod
May 13th, 2008, 06:00 PM
Try libqt4-dev
piratenaapje
May 13th, 2008, 07:55 PM
Try libqt4-dev
Allready installed that :p
piratenaapje
May 13th, 2008, 08:04 PM
I get this error:
E: /var/cache/apt/archives/libqt4-opengl-dev_4.4.0-1ubuntu3~hardy1_i386.deb: trying to overwrite `/usr/lib/pkgconfig/QtOpenGL.pc', which is also in package libqt4-dev
when trying to install libqt4-opengl-dev
piratenaapje
May 13th, 2008, 09:39 PM
Fixed it in a evil way: downloaded the deb, unpacked it, unpacked the data.tar.gz, and copied it to the needed locations :p
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.