Hello community, here is the log from the commit of package libqt5-creator for openSUSE:Factory checked in at 2018-04-16 12:52:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt5-creator (Old) and /work/SRC/openSUSE:Factory/.libqt5-creator.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-creator" Mon Apr 16 12:52:26 2018 rev:51 rq:596889 version:4.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libqt5-creator/libqt5-creator.changes 2018-03-02 21:11:35.241201433 +0100 +++ /work/SRC/openSUSE:Factory/.libqt5-creator.new/libqt5-creator.changes 2018-04-16 12:52:38.653134845 +0200 @@ -1,0 +2,6 @@ +Thu Apr 12 11:12:24 UTC 2018 - [email protected] + +- Add fix-application-output.patch + Fixes no application output. Might be fixed on Qt 5.11 + +------------------------------------------------------------------- New: ---- fix-application-output.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt5-creator.spec ++++++ --- /var/tmp/diff_new_pack.QkjJXy/_old 2018-04-16 12:52:39.741095231 +0200 +++ /var/tmp/diff_new_pack.QkjJXy/_new 2018-04-16 12:52:39.745095086 +0200 @@ -34,6 +34,8 @@ Patch1: fix-build-isystem.patch # PATCH-FIX-OPENSUSE 0001-Build-with-Botan-2.patch -- Fix build with Botan 2 Patch2: 0001-Build-with-Botan-2.patch +# PATCH-FIX-OPENSUSE - Might be fixed on Qt 5.11 +Patch3: fix-application-output.patch BuildRequires: gdb BuildRequires: libQt5Sql5-sqlite >= %{qt5_version} BuildRequires: libQt5WebKitWidgets-devel >= %{qt5_version} @@ -98,6 +100,7 @@ %if 0%{?suse_version} >= 1500 %patch2 -p1 %endif +%patch3 -p1 %build sed -i s,libexec/qtcreator,%{_lib}/qtcreator/libexec,g qtcreator.qbs ++++++ fix-application-output.patch ++++++ From: Javier Llorente <[email protected]> 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();
