FS#74505 - [qt6-base] Regression to QProcess breaks qtcreator

Attached to Project: Arch Linux
Opened by Aaron Barany (akb825) - Tuesday, 19 April 2022, 04:38 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 19 April 2022, 07:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
A change in behavior to QProcess causes Qt Creator to break after running a process. This was fixed upstream shortly after the Qt 6.3.0 release.

Additional info:
* qt6-base 6.3.0
* qtcreator 7.0.0
* Related qtcreator bug: https://bugs.archlinux.org/task/74457
* Upstream Qt bug: https://bugreports.qt.io/browse/QTBUG-102177
* Upstream Qt Creator bug: https://bugreports.qt.io/browse/QTCREATORBUG-27385
* Fix merged into the Qt 6.3 branch: https://codereview.qt-project.org/c/qt/qtbase/+/405503
* Fix merged into the Qt dev branch, which includes code review comments: https://codereview.qt-project.org/c/qt/qtbase/+/403605

Steps to reproduce:
1. Launch Qt Creator.
2. Load a project. I used a CMake project in my case.
3. Run an application through the Build -> Run menu or shortcut.
4. Observe that in the output window, the following error is printed: "Failed to start program. Path or permissions wrong?"

After this point, the IDE is largely broken. Many operations hang for several seconds, and anything that involves interacting with a separate process is broken. For example, the C++ code model is broken (no symantic highlighting or code completion), all builds fail, running programs through the IDE fail, etc. This state persists until the IDE is quit and re-launched.

I have attached a patch for the commit. When applying this locally to qt6-base the error is resolved.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 19 April 2022, 07:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  qt6-base 6.3.0-3

Loading...