Move forward-declaration inside of namespace
Including both qopenglextensions.h and qopenglcontext.h would cause ambiguity for the compiler when using QOpenGLContext Change-Id: If8e46741c86d7639f442b5ac05a4493da784eb2f Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
parent
95e1363802
commit
2544cfe80f
|
|
@ -66,10 +66,10 @@
|
|||
|
||||
#include <QtGui/qopengl.h>
|
||||
|
||||
class QOpenGLContext;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QOpenGLContext;
|
||||
|
||||
#if 0
|
||||
// silence syncqt warnings
|
||||
#pragma qt_class(QOpenGLExtensions)
|
||||
|
|
|
|||
Loading…
Reference in New Issue