summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qmlviewer.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-09-02 23:32:38 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-09-02 23:32:38 (GMT)
commit48b47f9d242f76e944986df08a16c083bce47bef (patch)
tree3cf9a57b2570f157f70a6b9ca2aa80450af61dc9 /tools/qmlviewer/qmlviewer.h
parented417f18023f1bbd0636c9724b8f79e08c77d51a (diff)
downloadQt-48b47f9d242f76e944986df08a16c083bce47bef.zip
Qt-48b47f9d242f76e944986df08a16c083bce47bef.tar.gz
Qt-48b47f9d242f76e944986df08a16c083bce47bef.tar.bz2
Make it easier to test examples with EGL.
Currently -graphicssystem opengl is not very reliable with EGL, so we've added a -opengl option to qmlviewer which sets the viewport of the view to a QGLWidget and allows for GL testing.
Diffstat (limited to 'tools/qmlviewer/qmlviewer.h')
-rw-r--r--tools/qmlviewer/qmlviewer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmlviewer/qmlviewer.h b/tools/qmlviewer/qmlviewer.h
index c03c09f..e85acfa 100644
--- a/tools/qmlviewer/qmlviewer.h
+++ b/tools/qmlviewer/qmlviewer.h
@@ -43,6 +43,7 @@ public:
void setDeviceKeys(bool);
void setNetworkCacheSize(int size);
void addLibraryPath(const QString& lib);
+ void setUseGL(bool use);
QStringList builtinSkins() const;