Building Qt for Odroid: undefined reference to `vtable for QOpenGLContext'



  • I previously did a successfull build of Qt5 for Odroid using Xubuntu 13.10. After releasing Lubuntu 14.04 I have tried to compile Qt5 again, but now I get the followig error messages (followed by many more):
    @
    .obj/debug-shared/qopenglcontext.o: In function QOpenGLContext::QOpenGLContext(QObject*)': /home/odroid/dev/qt5/qtbase/src/gui/kernel/qopenglcontext.cpp:423: undefined reference tovtable for QOpenGLContext'
    .obj/debug-shared/qopenglcontext.o: In function QOpenGLContextGroup::QOpenGLContextGroup()': /home/odroid/dev/qt5/qtbase/src/gui/kernel/qopenglcontext.cpp:995: undefined reference tovtable for QOpenGLContextGroup'
    .obj/debug-shared/qopenglcontext.o: In function QOpenGLContextGroup::~QOpenGLContextGroup()': /home/odroid/dev/qt5/qtbase/src/gui/kernel/qopenglcontext.cpp:1004: undefined reference tovtable for QOpenGLContextGroup'
    .obj/debug-shared/qopenglcontext.o: In function QOpenGLContext::destroy()': /home/odroid/dev/qt5/qtbase/src/gui/kernel/qopenglcontext.cpp:512: undefined reference toQOpenGLContext::aboutToBeDestroyed()'
    .obj/debug-shared/qopenglcontext.o: In function QOpenGLContext::~QOpenGLContext()': /home/odroid/dev/qt5/qtbase/src/gui/kernel/qopenglcontext.cpp:554: undefined reference tovtable for QOpenGLContext'
    .obj/debug-shared/qimagereader.o: In function createReadHandlerHelper': /home/odroid/dev/qt5/qtbase/src/gui/image/qimagereader.cpp:305: undefined reference toQImageIOPlugin::staticMetaObject'
    @
    I follow the proceeding as described here: "how to compile Qt5":http://napan.ca/ghpsdr3/index.php/Odroid
    and the configuration is as follows:
    @./configure -developer-build -opensource -confirm-license -nomake examples -nomake tests -no-pch -qt-xcb -opengl es2 -DMESA_EGL_NO_X11_HEADERS -skip qtconnectivity@

    Anyone has a clue what is wrong?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.