Sample Header Ad - 728x90

Using QtCreator with konsole instead of xterm

0 votes
1 answer
1497 views
I tried to use KDE's Konsole to start console applications from QtCreator. The application works as intended, but any new instance of Konsole started during or after the execution just shows this: Cannot read creator env file /tmp/QtCreator.UiK966: No such file or directory Press to close this window... or a similar error Cannot connect creator comm socket Qt Creator console The second one is not complete because it didn't occur anymore and I can't find the text anymore. Closing ALL instances of Konsole fixes the problem until I start any console project from QtCreator again. QtCreator Tools/Options/Environment/System/Terminal is set to /usr/bin/konsole -e QtCreator appends the following to the command set in Terminal: /usr/bin/../libexec/qtcreator/qtcreator_process_stub run /tmp/QtCreator.GJt966/stub-socket "Press to close this window..." /home/zzt/.build/untitled-Desktop-Debug /tmp/QtCreator.UiK966 966 /home/zzt/.build/untitled-Desktop-Debug/untitled There was a known bug in QtCreator that resulted in the described behaviour, but only in the Konsole instance that was started by QtCreator and that is supposedly fixed. The problem occurs on a Oracle VirtualBox VM running Arch, but does not occur on my laptop running the same OS and the same Konsole&QtCreator versions. Configuration is similar on both systems but can definitely differ. $ konsole --version konsole 16.08.3 $ qtcreator -version Qt Creator 4.1.0 based on Qt 5.7.0 ... $ uname -a Linux archvm 4.8.8-2-ARCH #1 SMP PREEMPT Thu Nov 17 14:51:03 CET 2016 x86_64 GNU/Linux
Asked by eike (548 rep)
Nov 17, 2016, 04:14 PM
Last activity: Sep 6, 2017, 11:26 PM