class QAbstractOpenGLFunctions
(note missing Q_GUI_EXPORT)
Regards,
Konstantin
2014-11-26 11:42 GMT+04:00 Christophe de Dinechin christo...@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
On 26 Nov 2014, at 09:04, Konstantin Ritt ritt...@gmail.com wrote:
class QAbstractOpenGLFunctions
(note missing Q_GUI_EXPORT)
Do you mean this is a bug, or that I'm using it wrong and it's not supposed to
be visible in the library? If not, why is its destructor virtual (implying that
the
On Wednesday 26 Nov 2014 09:13:38 Christophe de Dinechin wrote:
On 26 Nov 2014, at 09:04, Konstantin Ritt ritt...@gmail.com wrote:
class QAbstractOpenGLFunctions
(note missing Q_GUI_EXPORT)
Do you mean this is a bug, or that I'm using it wrong and it's not supposed
to be visible in
On 26 Nov 2014, at 09:46, Sean Harmer sean.har...@kdab.com wrote:
On Wednesday 26 Nov 2014 09:13:38 Christophe de Dinechin wrote:
On 26 Nov 2014, at 09:04, Konstantin Ritt ritt...@gmail.com wrote:
class QAbstractOpenGLFunctions
(note missing Q_GUI_EXPORT)
Do you mean this is a bug, or
Try with a class that has a copy constructor or with a usage pattern that
causes the compiler to generate a copy constructor.
Which gives me a possible fix: in my TaoOpenGLFunctions, I can add a copy
constructor that invokes the default constructor instead of the copy
constructor. So I can
struct OpenGLState : GraphicState { TaoOpenGLFunctions *funcs; ... }
voi-la
Regards,
Konstantin
2014-11-26 13:15 GMT+04:00 Christophe de Dinechin christo...@taodyne.com:
Try with a class that has a copy constructor or with a usage pattern
that causes the compiler to generate a copy
On 26 Nov 2014, at 10:21, Konstantin Ritt ritt...@gmail.com wrote:
struct OpenGLState : GraphicState { TaoOpenGLFunctions *funcs; ... }
voi-la
Nope: I don't inherit the GL functions that way, so I have to rewrite every
glFoo as funcs-glFoo, which is double plus annoying. And then, there are
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