summaryrefslogtreecommitdiff
path: root/src/controls/Private/qquickcontrolsettings.cpp
diff options
context:
space:
mode:
authorAndreas Holzammer <andreas.holzammer@kdab.com>2014-06-24 10:29:58 +0200
committerAndreas Holzammer <andreas.holzammer@kdab.com>2014-06-24 10:54:12 +0200
commit7a719d3f5c488cf49e28c579300dfbcc70cefb6a (patch)
tree024e3d377e83440c69cf80130d536bfda5a942f0 /src/controls/Private/qquickcontrolsettings.cpp
parenta780d2ddedb769eba44263ae46684080d7ddc843 (diff)
downloadqtquickcontrols-7a719d3f5c488cf49e28c579300dfbcc70cefb6a.tar.gz
Remove Widgets dependency for QNX
Changes.txt says that with Qt 5.2.0 dependency for Widgets have been removed for touch based platforms. But QNX is also a touch based platform and its missing. Change-Id: I140842d4501422537175ac5acb07beebe994f0eb Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Private/qquickcontrolsettings.cpp')
-rw-r--r--src/controls/Private/qquickcontrolsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/qquickcontrolsettings.cpp b/src/controls/Private/qquickcontrolsettings.cpp
index e1d0cabb..4ad5cfe2 100644
--- a/src/controls/Private/qquickcontrolsettings.cpp
+++ b/src/controls/Private/qquickcontrolsettings.cpp
@@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE
static QString defaultStyleName()
{
//Only enable QStyle support when we are using QApplication
-#if !defined(Q_OS_IOS) && !defined(Q_OS_ANDROID) && !defined (Q_OS_BLACKBERRY)
+#if !defined(Q_OS_IOS) && !defined(Q_OS_ANDROID) && !defined (Q_OS_BLACKBERRY) && !defined (Q_OS_QNX)
if (QCoreApplication::instance()->inherits("QApplication"))
return QLatin1String("Desktop");
#endif