diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-09-02 23:32:38 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-09-02 23:32:38 (GMT) |
commit | 48b47f9d242f76e944986df08a16c083bce47bef (patch) | |
tree | 3cf9a57b2570f157f70a6b9ca2aa80450af61dc9 /tools/qmlviewer/qmlviewer.h | |
parent | ed417f18023f1bbd0636c9724b8f79e08c77d51a (diff) | |
download | Qt-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.h | 1 |
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; |