diff options
author | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2015-10-13 15:07:54 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2015-10-21 12:59:37 +0000 |
commit | fb049254c80ecff168542fe8ae035a3abd03cf08 (patch) | |
tree | 263a1f9d48e90144b590902ec5172ac8466bd2fa /src/plugins/platforms/winrt/qwinrtinputcontext.h | |
parent | 70b229d996d45a661fe70fdb18909ad0e364f7ba (diff) |
WinRT: Fix InputPanel on Windows 10
Check for MSVC2015 to enable usage of IInputPane(2). Move object
construction to the XAML Thread, otherwise instantiation will fail when
running on desktop.
Task-number: QTBUG-44494
Change-Id: I816230cc5b0def796e86e6c6bb05a552a4e59d1b
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Diffstat (limited to 'src/plugins/platforms/winrt/qwinrtinputcontext.h')
-rw-r--r-- | src/plugins/platforms/winrt/qwinrtinputcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/winrt/qwinrtinputcontext.h b/src/plugins/platforms/winrt/qwinrtinputcontext.h index cc3bce435f..6f88ff46e6 100644 --- a/src/plugins/platforms/winrt/qwinrtinputcontext.h +++ b/src/plugins/platforms/winrt/qwinrtinputcontext.h @@ -68,7 +68,7 @@ public: bool isInputPanelVisible() const; -#ifdef Q_OS_WINPHONE +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PHONE_APP) void showInputPanel(); void hideInputPanel(); #endif |