Fix compilation of Open GL ES 2 examples when using a Qt-namespace.

Change-Id: I174569a8c989ab53fb6b9bb700c110db2f93c2d5
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Friedemann Kleint 2012-12-19 14:19:18 +01:00 committed by The Qt Project
parent 56dc245a2b
commit c9aa1f2c2a
3 changed files with 2 additions and 5 deletions

View File

@ -47,7 +47,7 @@
#include <QRect>
#include <QRectF>
class QPainter;
QT_FORWARD_DECLARE_CLASS(QPainter)
class Bubble
{

View File

@ -43,9 +43,6 @@
#include <QMainWindow>
class QSlider;
class GLWidget;
class MainWindow : public QMainWindow
{
Q_OBJECT

View File

@ -44,7 +44,7 @@
#include <QtWidgets>
#include <QGLWidget>
class QGLShaderProgram;
QT_FORWARD_DECLARE_CLASS(QGLShaderProgram);
class GLWidget : public QGLWidget
{