PDA

View Full Version : QGLWidget::isValid() not valid in Qt-4.3.2?



Caius Aérobus
13th November 2008, 17:19
Hello,
my Qt-4.3 doc mentions this method but I get a link error:
Undefined symbols:
"QGLWidget::isValid() const", referenced from:
wlMesh::makeList(int) in wlMesh.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

h123
14th November 2008, 02:53
Qt docs says...

bool QGLWidget::isValid () const
Returns true if the widget has a valid GL rendering context; otherwise returns false. A widget will be invalid if the system has no OpenGL support.

do u have opengl installed in ur system, check this.

Caius Aérobus
15th November 2008, 20:46
Yes of course but my problem is not here: I get an error during library linking, which means that this method is not available in my Qt library, whereas it is mentionned in the doc!

Caius Aérobus
16th November 2008, 22:14
Up!
Any help from the Qt staff?