summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_use_modules_function/three.cpp
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-03-14 13:58:19 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-15 10:04:30 +0100
commitd87c5db10aecc0c9df45b89dae2ca13c5d7e31b5 (patch)
tree87b1404bfd8a0016f2cd0af1bafdd4541a68d032 /tests/auto/cmake/test_use_modules_function/three.cpp
parentd0ea65b5cbaa9ec6ec1aad0a60ca0a4f96659684 (diff)
Make cmake tests not depend on QtWidgets where not needed.
Change-Id: Ib6347360d678bbe54445ebb0680ad66d77a7f3c7 Reviewed-by: Alexander Neundorf <neundorf@kde.org> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/auto/cmake/test_use_modules_function/three.cpp')
-rw-r--r--tests/auto/cmake/test_use_modules_function/three.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/cmake/test_use_modules_function/three.cpp b/tests/auto/cmake/test_use_modules_function/three.cpp
index c3aff71b03..42ae910981 100644
--- a/tests/auto/cmake/test_use_modules_function/three.cpp
+++ b/tests/auto/cmake/test_use_modules_function/three.cpp
@@ -40,7 +40,7 @@
****************************************************************************/
#include <QtTest>
-#include <QWidget>
+#include <QWindow>
class Three : public QObject
{
@@ -48,7 +48,7 @@ class Three : public QObject
public:
Three(QObject *parent = 0)
{
- QWidget *w = new QWidget;
+ QWindow *w = new QWindow;
w->show();
}
};