diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-07-30 13:45:51 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-30 06:06:12 +0200 |
commit | 6a5dc7eb3fc3d885a7b0e9ee26f7a9b29d7ae2d1 (patch) | |
tree | 7f41ec2a32a5900728aa1d3ddfee27f7100d9a4f /tests/auto/auto.pro | |
parent | 3f5f692630de391140c83cdb4048befde2890c85 (diff) |
tests: fixed check for QtOpenGL
contains(QT_CONFIG,opengl) tells whether Qt itself is able to use
OpenGL, which is not the same thing as whether the QtOpenGL API is
available. Make the check correct; fixes compilation when Qt is
configured with -no-widgets (which also disables QtOpenGL).
Change-Id: Iaa296c2b10650971ef4846f8bc6f44761fadcf7c
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r-- | tests/auto/auto.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index c11a609b81..b3906cc247 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -18,7 +18,7 @@ SUBDIRS += \ wince*: SUBDIRS -= printsupport cross_compile: SUBDIRS -= tools -!contains(QT_CONFIG, opengl): SUBDIRS -= opengl +isEmpty(QT.opengl.name): SUBDIRS -= opengl !unix|embedded|!contains(QT_CONFIG, dbus): SUBDIRS -= dbus contains(QT_CONFIG, no-widgets): SUBDIRS -= widgets printsupport !contains(QT_CONFIG, concurrent): SUBDIRS -= concurrent |