From 25a62d7d6bf5f0b9eabab0f3ea8b4719cc27756c Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Wed, 12 Oct 2011 12:36:25 +1000 Subject: Don't build empty tests. The qgraphicswidget and qgraphicsproxywidget tests are empty if Qt is built without the cleanlooks style, so don't build the tests in that case. Change-Id: I2308e723a9b0abcc3e95b32a562fcb02afe0444d Reviewed-by: Rohan McGovern --- tests/auto/gui.pro | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/auto/gui.pro') diff --git a/tests/auto/gui.pro b/tests/auto/gui.pro index 65595405a5..7e07df24d8 100644 --- a/tests/auto/gui.pro +++ b/tests/auto/gui.pro @@ -153,6 +153,11 @@ irix-*:SUBDIRS -= qitemview qwsinputmethod \ qwswindowsystem \ +# These tests require the cleanlooks style +!contains(styles, cleanlooks):SUBDIRS -= \ + qgraphicswidget \ + qgraphicsproxywidget \ + win32:SUBDIRS -= qtextpiecetable !contains(QT_CONFIG, private_tests): SUBDIRS -= \ -- cgit v1.2.3