Qt creater and Terminator like a terminal emulator
-
wrote on 3 May 2021, 18:23 last edited by Ruslan Gunzhin 5 May 2021, 10:15
I use the qtcreator because it is a recommendation from my university)) but i find qt convenient enough. if not for one problem in integration with ArchLinux. I'm using Terminator as a terminal emulator. I managed to make them friends with qtcreator, in the sense that my programs run in the terminal. but with some exceptions. qtcreator cannot be started from terminal, and additional terminals cannot be launched. I think it's a matter of process inheritance or session of process. maybe somebody direct my research?
-
Hi and welcome to devnet,
Can you share the error message you get ?
Depending on the error, you should set the QT_DEBUG_PLUGINS environment variable to 1. You'll get a dump of what is happening with the plugins loaded by Qt and their error if any when loading. -
wrote on 4 May 2021, 14:41 last edited by
Thanks for the advice. I will definitely understand the work of forming dumbfiles. Do I understand correctly that they are created only when the program crashes? This does not happen for me. It seems to be the case as described here.
https://askubuntu.com/questions/77554/how-can-i-use-gnome-terminal-in-qt-creator/84500#84500
I can run my project in terminal, but only if other terminal instances have not been launched before. This is enough to get a good estimate in my university, but not to understand how it actually works in the OS. I will be grateful for the information. -
Your issue is a bit less clear. Do you mean you have that issue with Qt Creator using Terminator as terminal or just using Terminator ?
-
wrote on 4 May 2021, 14:59 last edited by Ruslan Gunzhin 5 May 2021, 10:16
first option)) when Qtcreator uses the Terminator as a terminal
-
What exact error do you get ?
Any message ? -
wrote on 4 May 2021, 16:03 last edited by Ruslan Gunzhin 5 May 2021, 10:16
@SGaist said in Qt and Terminator like a terminal emulator:
What exact error do you get ?
Any message ?Qtcreator is running in terminal.
I'm trying to run the project in the terminal.
Starting... will last indefinitely.
-
Shouldn't you use the "-e" argument ?
-
wrote on 4 May 2021, 18:16 last edited by Ruslan Gunzhin 5 May 2021, 10:17
no other argument works, exclusively in Qtcreator of course. just by executing "terminator -x" in the terminal everything works
-
Did you try to start Qt Creator from the terminal just to see if you are getting some output that might be related to your issue ?
-
wrote on 4 May 2021, 18:43 last edited by Ruslan Gunzhin 5 May 2021, 10:18
I usually do this if I don't need to run my program in the terminal from Qtcreator. In defense of Qtcreator, I will say that "Open terminal here" or "Open terminal with" really open Terminator.
-
Qt Creator and Qt are two different things. Qt Creator is the IDE and Qt the framework used to build your application (as well as Qt Creator).
Hence I am suggesting you to start Qt Creator in your terminal so you might see some output when you try to start your application from Qt Creator.
-
wrote on 4 May 2021, 20:59 last edited by Ruslan Gunzhin 5 May 2021, 10:19
1000 apologies for the substitution of concepts. wherever I wrote Qt above, I had to introduce Qtcreator(fixed everywhere it seems like ). found this
https://codereview.qt-project.org/c/qt-creator/qt-creator/+/33744
but it doesn't solve my problem. -
Well, I might be wrong but it looks like Terminator's architecture might be radically different and not interact well in this use case. I would recommend contacting the authors to see if they can help you with that.
-
wrote on 5 May 2021, 23:16 last edited by
I wrote to them on the LaunchPad. While waiting for an answer, I think to test some other terminal emulators.
-
wrote on 16 May 2021, 12:06 last edited by
The problem has been resolved. It was Terminator's DBus server. While I figured out what's what, I learned to track system calls of programs. I know a little more now than I did before.
-
What was the final solution ?
-
wrote on 17 May 2021, 15:53 last edited by
-
Thanks !
I thought they would have a solution integrating with it. Oh well, at least you can now use it :-)