diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-10-12 12:36:25 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-17 03:30:55 +0200 |
commit | 25a62d7d6bf5f0b9eabab0f3ea8b4719cc27756c (patch) | |
tree | 1aabf2d37fe5166afaef93a339ff61d98aa51229 /tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp | |
parent | a40ebefcd382cb70676ed5883beace015c87f095 (diff) |
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 <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp')
-rw-r--r-- | tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp b/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp index ce65f4ef70..feae6f7372 100644 --- a/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp +++ b/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp @@ -81,7 +81,6 @@ protected: QEvent::Type spied; }; -#ifndef QT_NO_STYLE_CLEANLOOKS class tst_QGraphicsWidget : public QObject { Q_OBJECT @@ -3361,8 +3360,3 @@ void tst_QGraphicsWidget::QT_BUG_12056_tabFocusFirstUnsetWhenRemovingItems() QTEST_MAIN(tst_QGraphicsWidget) #include "tst_qgraphicswidget.moc" - -#else // QT_NO_STYLE_CLEANLOOKS -QTEST_NOOP_MAIN -#endif - |