diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-10-17 16:58:11 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-17 19:45:05 +0200 |
commit | 771e2babf6d201f7f6a11c93a59c152896dad8db (patch) | |
tree | 5b83b8546f624f2b7c77f04020cc5309362bfed9 /tests/shared | |
parent | 0bf5b80baee78f9fc7145304821481556ccba78b (diff) | |
download | qtquickcontrols-771e2babf6d201f7f6a11c93a59c152896dad8db.tar.gz |
Remove widget dependency on touch platforms
We don't want native styling on touch enabled devices and there is no
reason to link against widgets there.
Change-Id: I70116a0a94227cb58ae25980b97c4177da75a3c8
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'tests/shared')
-rw-r--r-- | tests/shared/qt_quick_controls_quicktest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shared/qt_quick_controls_quicktest.h b/tests/shared/qt_quick_controls_quicktest.h index 8bcd0d47..42d7e942 100644 --- a/tests/shared/qt_quick_controls_quicktest.h +++ b/tests/shared/qt_quick_controls_quicktest.h @@ -44,7 +44,7 @@ #include <QtQuickTest/quicktestglobal.h> -#ifndef QT_NO_WIDGETS +#ifdef QT_WIDGETS_LIB #include <QtWidgets/QApplication> #else #include <QtGui/QGuiApplication> @@ -58,7 +58,7 @@ QT_BEGIN_NAMESPACE #define QT_QUICK_CONTROLS_TEST_MAIN_VAR 0 #endif -#ifndef QT_NO_WIDGETS +#ifdef QT_WIDGETS_LIB #define Application QApplication #else #define Application QGuiApplication |