Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt creater and Terminator like a terminal emulator
Forum Updated to NodeBB v4.3 + New Features

Qt creater and Terminator like a terminal emulator

Scheduled Pinned Locked Moved Solved General and Desktop
19 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ruslan Gunzhin
    wrote on last edited by Ruslan Gunzhin
    #1

    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?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • R Offline
        R Offline
        Ruslan Gunzhin
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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 ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • R Offline
            R Offline
            Ruslan Gunzhin
            wrote on last edited by Ruslan Gunzhin
            #5

            first option)) when Qtcreator uses the Terminator as a terminal

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              What exact error do you get ?
              Any message ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              2
              • R Offline
                R Offline
                Ruslan Gunzhin
                wrote on last edited by Ruslan Gunzhin
                #7

                @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.
                Screenshot from 2021-05-04 18-52-01.png
                Screenshot from 2021-05-04 19-02-38.png

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Shouldn't you use the "-e" argument ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  1
                  • R Offline
                    R Offline
                    Ruslan Gunzhin
                    wrote on last edited by Ruslan Gunzhin
                    #9

                    no other argument works, exclusively in Qtcreator of course. just by executing "terminator -x" in the terminal everything works

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      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 ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        Ruslan Gunzhin
                        wrote on last edited by Ruslan Gunzhin
                        #11

                        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.

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          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.

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • R Offline
                            R Offline
                            Ruslan Gunzhin
                            wrote on last edited by Ruslan Gunzhin
                            #13

                            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.

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              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.

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                Ruslan Gunzhin
                                wrote on last edited by
                                #15

                                I wrote to them on the LaunchPad. While waiting for an answer, I think to test some other terminal emulators.

                                1 Reply Last reply
                                0
                                • R Offline
                                  R Offline
                                  Ruslan Gunzhin
                                  wrote on last edited by
                                  #16

                                  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.

                                  1 Reply Last reply
                                  0
                                  • SGaistS Offline
                                    SGaistS Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #17

                                    What was the final solution ?

                                    Interested in AI ? www.idiap.ch
                                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    1 Reply Last reply
                                    1
                                    • R Offline
                                      R Offline
                                      Ruslan Gunzhin
                                      wrote on last edited by
                                      #18

                                      Screenshot_2021-05-17 Preferences Window — Terminator 2 0 alpha documentation.png

                                      Disabling the DBus item in the settings

                                      1 Reply Last reply
                                      0
                                      • SGaistS Offline
                                        SGaistS Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #19

                                        Thanks !

                                        I thought they would have a solution integrating with it. Oh well, at least you can now use it :-)

                                        Interested in AI ? www.idiap.ch
                                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        1 Reply Last reply
                                        0

                                        • Login

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Users
                                        • Groups
                                        • Search
                                        • Get Qt Extensions
                                        • Unsolved