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 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 solve my problem, but I still think this is a bug in
> QAbstractOpenGLFunctions. It should either provide a copy constructor,
> possibly private if you want to generate a compile-time error, or be marked
> as Q_GUI_EXPORT.
>
> Thanks,
> Christophe
> _______________________________________________
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to