summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2017-10-25 17:27:08 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2017-10-26 07:24:53 +0000
commitaf8039da827e2389236f9acd335648f94cfaad67 (patch)
tree1d91178196354a3be47928c2db8aff1141fda289 /tests/auto/widgets
parenta9452507f484589e15f8947d699be691dcaa4194 (diff)
Fix qwebengine_convert_dict to pick up correct ICU resources location
The conversion tool uses the QLibraryInfo::location() call to find Qt's data directory. When a qt.conf file gets picked up by the application (which is the case for official Qt packages), QLibraryInfo::location() depends on a QCoreApplication instance being available, to query the PrefixPath. If the instance is not available, it simply returns the current directory path, which results in ICU resources not being found. The fix consists in creating a QCoreApplication instance. Task-number: QTBUG-63593 Change-Id: I8f1bba14d4586c42570d309b84418eef611bab0e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions