Active Topics

 


Reply
Thread Tools
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#1
I am interested in making an application for Maemo utilizing the GPU and OpenGL 3D graphics.
I am working in the Nokia Qt SDK.
On the Qt tutorials it says that i should add #include <QGLWidget> to the file in order to get the QGLWidget.
However it doesnt show up on suggestions and building doesnt work because its not recognized.
How do i use QGLWidget?
 
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#2
How does the build fail?

Did you forget to set the namespace?
 
Posts: 190 | Thanked: 129 times | Joined on Mar 2010 @ Bavaria, Germany
#3
If you ONLY added the include in your .cpp file, you would probably also need "QT += opengl" in your .pro file!
 

The Following 2 Users Say Thank You to gri For This Useful Post:
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#4
Ah, thanks!
It worked.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:53.