Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
qt-creator.17941
fix-application-output.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-application-output.patch of Package qt-creator.17941
From 6542ee6bc6ce420dcb2c1967c63132933d2d2f33 Mon Sep 17 00:00:00 2001 From: Javier Llorente <javier@opensuse.org> Date: Tue, 8 Dec 2020 14:08:11 +0100 Subject: [PATCH] Fix application output There is no application output on Qt Creator because logging goes to journald. Workaround: set QT_LOGGING_TO_CONSOLE and QT_FORCE_STDERR_LOGGING --- src/app/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/main.cpp b/src/app/main.cpp index e17ef27..fce0595 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -508,6 +508,9 @@ int main(int argc, char **argv) qputenv("QT_ENABLE_REGEXP_JIT", "0"); } + // Force Qt to log to stderr + qputenv("QT_FORCE_STDERR_LOGGING", "1"); + #if defined(QTC_FORCE_XCB) if (Utils::HostOsInfo::isLinuxHost() && !qEnvironmentVariableIsSet("QT_QPA_PLATFORM")) { // Enforce XCB on Linux/Gnome, if the user didn't override via QT_QPA_PLATFORM
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor