summaryrefslogtreecommitdiff
path: root/src/controls/Private/private.pri
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2014-07-17 23:37:03 +0200
committerJ-P Nurmi <jpnurmi@digia.com>2014-07-18 14:42:14 +0200
commitca56fb96dd2228404c3f51691bb78a9f2419f319 (patch)
tree390c2c506e9b960d2372bd83347efc7d4dfc8621 /src/controls/Private/private.pri
parentcd952b14e1bc41aa3e6f97596dc32b6578df40bf (diff)
downloadqtquickcontrols-ca56fb96dd2228404c3f51691bb78a9f2419f319.tar.gz
Centralize determination of "no desktop" configurations
Change-Id: I030012f48668db4f01737ef92fdb7e6e0426e025 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Liang Qi <liang.qi@digia.com>
Diffstat (limited to 'src/controls/Private/private.pri')
-rw-r--r--src/controls/Private/private.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/private.pri b/src/controls/Private/private.pri
index 32ad0cf6..ae16dc0f 100644
--- a/src/controls/Private/private.pri
+++ b/src/controls/Private/private.pri
@@ -22,7 +22,7 @@ SOURCES += \
$$PWD/qquickabstractstyle.cpp
-!android:!ios:!blackberry:!qnx:!winrt:qtHaveModule(widgets) {
+!no_desktop {
QT += widgets
HEADERS += $$PWD/qquickstyleitem_p.h
SOURCES += $$PWD/qquickstyleitem.cpp