From 5578b07cc65a3e7cf1cc8fe7d6232844f98202b1 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 1 Sep 2014 15:01:23 +0200 Subject: Add iOS style stub (NOTE: cherry-pick of faa5f59) The current look and feel on iOS (with the default Base style) is terrible. This commit alone doesn't change anything, but it allows us to do minor iOS-specific tweaks that will greatly improve the usability on iOS already in Qt 5.4. Change-Id: I86764dd92bdfaae8170a8cd6709177a9a064cda8 Reviewed-by: Richard Moe Gustavsen --- src/controls/Private/qquickcontrolsettings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/controls/Private/qquickcontrolsettings.cpp') diff --git a/src/controls/Private/qquickcontrolsettings.cpp b/src/controls/Private/qquickcontrolsettings.cpp index 09e77f5f..ee1b57df 100644 --- a/src/controls/Private/qquickcontrolsettings.cpp +++ b/src/controls/Private/qquickcontrolsettings.cpp @@ -50,6 +50,8 @@ static QString defaultStyleName() return QLatin1String("Desktop"); #elif defined(Q_OS_ANDROID) && !defined(Q_OS_ANDROID_NO_SDK) return QLatin1String("Android"); +#elif defined(Q_OS_IOS) + return QLatin1String("iOS"); #endif return QLatin1String("Base"); } -- cgit v1.2.1