File fix-application-output.patch of Package libqt5-creator
From: Javier Llorente <javier@opensuse.org>
Subject: Fix application output
References: N/A
There is no application output on Qt Creator because logging goes to journald.
Workaround: set QT_LOGGING_TO_CONSOLE.
This might be fixed on Qt 5.11.
Index: qt-creator-opensource-src-4.5.0/src/app/main.cpp
===================================================================
--- qt-creator-opensource-src-4.5.0/src/app/main.cpp.orig 2017-12-01 11:22:06.000000000 +0100
+++ qt-creator-opensource-src-4.5.0/src/app/main.cpp 2018-04-13 22:55:43.752986767 +0200
@@ -303,6 +303,8 @@
QApplication::setAttribute(Qt::AA_DontUseNativeMenuBar);
}
+ qputenv("QT_LOGGING_TO_CONSOLE", "1");
+
Utils::TemporaryDirectory::setMasterTemporaryDirectory(QDir::tempPath() + "/" + Core::Constants::IDE_CASED_ID + "-XXXXXX");
setHighDpiEnvironmentVariable();