diff options
author | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2018-04-20 14:38:14 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@qt.io> | 2018-04-23 03:35:45 +0000 |
commit | 9d3f193509bf2c11273b264535e8dbcd22e92306 (patch) | |
tree | a87a1ae3a74763c1bc7b84e1d9743400bbe8b58f | |
parent | 0380f00c945379628562e64c7c10f5875ecb666d (diff) |
Fix loading "foreign" presentations on Linux
Task-number: QT3DS-1473
Change-Id: I8a6f4018d4c3ff0ff02a8a577719d15a240a9c09
Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r-- | src/Authoring/Studio/_Win/Application/StudioApp.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Authoring/Studio/_Win/Application/StudioApp.cpp b/src/Authoring/Studio/_Win/Application/StudioApp.cpp index a2da4135..48ca2080 100644 --- a/src/Authoring/Studio/_Win/Application/StudioApp.cpp +++ b/src/Authoring/Studio/_Win/Application/StudioApp.cpp @@ -57,6 +57,12 @@ int main(int argc, char *argv[]) // Hack to work around qml cache bug (QT3DS-556) qputenv("QML_DISABLE_DISK_CACHE", "true"); + // Note: This will prevent localization from working on Linux, but it will fix QT3DS-1473 + // TODO: To be removed once the new parser is in use +#if defined(Q_OS_LINUX) + qputenv("LC_ALL", "C"); +#endif + // init runtime static resources Q_INIT_RESOURCE(res); |