diff options
author | Jochen Seemann <seemann.jochen@gmail.com> | 2014-09-24 12:12:14 +0200 |
---|---|---|
committer | Jochen Seemann <seemann.jochen@gmail.com> | 2014-09-30 20:31:01 +0200 |
commit | 0452ea44b05093e6d9357dfbe52f3d5cc1e5ebf4 (patch) | |
tree | 1949180f23b3ed24de6644b9418f8628dae48888 /src/controls/Private/qquickcontrolsettings.cpp | |
parent | faa5f59e2f26a5c4cf8b681443f2209d1b516b9c (diff) | |
download | qtquickcontrols-0452ea44b05093e6d9357dfbe52f3d5cc1e5ebf4.tar.gz |
Add WinRT style stub
The goal is to have a QtQC style for WinRT with Qt 5.5.
It includes two separate styles: for Windows 8.1 (PC) and Windows
Phone 8.1 (Phone).
This commit doesn't change anything, but makes it easy to add the control
styles gradually.
Change-Id: I0e34666622cda0a16e71d02cef1d19d3eb2483c1
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Private/qquickcontrolsettings.cpp')
-rw-r--r-- | src/controls/Private/qquickcontrolsettings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/Private/qquickcontrolsettings.cpp b/src/controls/Private/qquickcontrolsettings.cpp index 5e366a26..556f3f5b 100644 --- a/src/controls/Private/qquickcontrolsettings.cpp +++ b/src/controls/Private/qquickcontrolsettings.cpp @@ -60,6 +60,8 @@ static QString defaultStyleName() return QLatin1String("Android"); #elif defined(Q_OS_IOS) return QLatin1String("iOS"); +#elif defined(Q_OS_WINRT) + return QLatin1String("WinRT"); #endif return QLatin1String("Base"); } |