From 9d3f193509bf2c11273b264535e8dbcd22e92306 Mon Sep 17 00:00:00 2001 From: Tomi Korpipaa Date: Fri, 20 Apr 2018 14:38:14 +0300 Subject: Fix loading "foreign" presentations on Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QT3DS-1473 Change-Id: I8a6f4018d4c3ff0ff02a8a577719d15a240a9c09 Reviewed-by: Marianne Yrjänä Reviewed-by: Miikka Heikkinen --- src/Authoring/Studio/_Win/Application/StudioApp.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- cgit v1.2.3