diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2017-07-05 00:33:18 +0300 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2017-07-08 19:27:48 +0000 |
commit | 0bf1c6ad9e0b5572b8ea99f5fc8945dade5675b7 (patch) | |
tree | 44a604483c7090431d3caa540dec58c931c3c714 /tests/auto | |
parent | 7036de7bb303735e7ef0fdf7f2d220bdbc867c71 (diff) |
3rdparty/openwnn: Fix and optimize the engine due to QStringLiteral
QStringLiteral is broken in MSVC2015 onwards when used with \uXXXX
encoded character literals. This was the reason Japanese tests were
failing - the OpenWNN engine was actually broken and producing
garbage.
Not only this change eliminates QStringLiteral from openwnn, but also
reduces runtime memory usage by replacing QMap<QString, QString>.
The new solution is based on simple binary lookup table WnnLookupTable.
WnnLookupTable data was converted from existing QMap structures using
WnnLookupTable::create() method, which was left there for future
reference.
This change also removes the unnecessary QObjectPrivate definitions
from Romkan* classes.
[ChangeLog][OpenWNN] Fixed and optimized OpenWNN engine (as a workaround
for QStringLiteral breakage)
Change-Id: I50c9e2f5c363e1314f47d7023685da543ec9a7eb
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/inputpanel/BLACKLIST | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/auto/inputpanel/BLACKLIST b/tests/auto/inputpanel/BLACKLIST index 9d4e1e38..e69de29b 100644 --- a/tests/auto/inputpanel/BLACKLIST +++ b/tests/auto/inputpanel/BLACKLIST @@ -1,10 +0,0 @@ -[tst_plugin::test_inputLocale:row 10] -windows msvc-2015 -[tst_plugin::test_japaneseInputModes:row 0] -windows msvc-2015 -[tst_plugin::test_japaneseInputModes:row 1] -windows msvc-2015 -[tst_plugin::test_japaneseInputModes:row 2] -windows msvc-2015 -[tst_plugin::test_japaneseInputModes:row 3] -windows msvc-2015 |