help > RE: build problem: QGLwidget
Nov 15, 2013  04:11 AM | Hanchuan Peng
RE: build problem: QGLwidget
when u built qt, did you build with opengl support?

This can be found when you run "./configure --help" when you start to build qt 4.7.3.

This is the first time I was asked such a question, frankly, :-)

-Hanchuan



Originally posted by Brian Long:
Greetings

my build of vaa3d on linux is failing with the following error:

In file included from ../plugin_loader/v3d_plugin_loader.cpp:42:
../plugin_loader/../3drenderer/v3dr_glwidget.h:44:21: error: QGLWidget: No such file or directory

Google searches turn up a few pages saying to modify the .pro file to add
QT += opengl
 but after some digging I found that  line already in v3d_essential.pro. 

This is probably some newb error in my Qt and openGL installations, but I've followed the instructions on
code.google.com/p/vaa3d/wiki/FAQ
for building qt 4.7.3 after installing
 freeglut, mesa-libGL-devel,  and mesa-libGLU-devel  with yum
and ran the code on
code.google.com/p/vaa3d/wiki/BuildVaa3D
to do the build. 



any ideas where to start?

Thanks!

-Brian

Threaded View

TitleAuthorDate
Brian Long Nov 15, 2013
RE: build problem: QGLwidget
Hanchuan Peng Nov 15, 2013
Brian Long Nov 15, 2013