[Development] Unsatisfied symbols for QAbstractOpenGLFunctions

Konstantin Ritt ritt.ks at gmail.com
Wed Nov 26 09:04:50 CET 2014


class QAbstractOpenGLFunctions
(note missing Q_GUI_EXPORT)

Regards,
Konstantin

2014-11-26 11:42 GMT+04:00 Christophe de Dinechin <christophe at taodyne.com>:

> I'm trying to adapt Tao3D (http://tao3d.sourceforge.net) to the "new" way
> of doing OpenGL on Qt. I run into unsatisfied symbols for
> QAbstractOpenGLFunctions (specifically, the vtable and the destructor),
> despite the fact that QOpenGLFunctions_3_0 (which derives from
> QAbstractOpenGLFunctions) is present in the libQtGui.a library. I'm using
> the MinGW binaries from the installer. Why would a derived class be in the
> library if the base class is not?
>
> $ nm libQt5Gui.a | grep QOpenGLFunctions_3_0
> 00000000 I __imp___ZTV20QOpenGLFunctions_3_0
> 00000000 I __nm___ZTV20QOpenGLFunctions_3_0
> 00000000 I __imp___ZTI20QOpenGLFunctions_3_0
> 00000000 I __nm___ZTI20QOpenGLFunctions_3_0
> 00000000 T __ZN20QOpenGLFunctions_3_0D2Ev
> 00000000 I __imp___ZN20QOpenGLFunctions_3_0D2Ev
> 00000000 T __ZN20QOpenGLFunctions_3_0D1Ev
> 00000000 I __imp___ZN20QOpenGLFunctions_3_0D1Ev
> 00000000 T __ZN20QOpenGLFunctions_3_0D0Ev
> 00000000 I __imp___ZN20QOpenGLFunctions_3_0D0Ev
> 00000000 T __ZN20QOpenGLFunctions_3_0C2Ev
> 00000000 I __imp___ZN20QOpenGLFunctions_3_0C2Ev
> 00000000 T __ZN20QOpenGLFunctions_3_0C1Ev
> 00000000 I __imp___ZN20QOpenGLFunctions_3_0C1Ev
> 00000000 T __ZN20QOpenGLFunctions_3_025initializeOpenGLFunctionsEv
> 00000000 I __imp___ZN20QOpenGLFunctions_3_025initializeOpenGLFunctionsEv
> 00000000 T
> __ZN20QOpenGLFunctions_3_019isContextCompatibleEP14QOpenGLContext
> 00000000 I
> __imp___ZN20QOpenGLFunctions_3_019isContextCompatibleEP14QOpenGLContext
> 00000000 T __ZN20QOpenGLFunctions_3_014versionProfileEv
> 00000000 I __imp___ZN20QOpenGLFunctions_3_014versionProfileEv
>
> $ nm libQt5Gui.a | grep QAbstractOpenGL
> [nothing]
>
>
>
> Christophe de Dinechin
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20141126/032703b4/attachment.html>


More information about the Development mailing list