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. Run OS console instead of "Application Output" in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Run OS console instead of "Application Output" in Qt Creator

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 7.8k Views 2 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.
  • P Offline
    P Offline
    PhantomR
    wrote on 28 Apr 2017, 15:53 last edited by
    #1

    Hello,

    For a Qt Widgets Application, is it possible to display the usual operating system console (like it happens when you run a "Plain C++ Application" project) instead / in place of the "Application Output" at the bottom (of the Qt Creator window)? The reason is that I'd like some colors displayed in the console (for the Catch testing framework output.. I've also read it may be better to do the tests ina different project, but I'm not sure how to set up the second project in order to (maybe) automatically import sources in the main project).

    M 1 Reply Last reply 28 Apr 2017, 15:59
    0
    • P PhantomR
      28 Apr 2017, 15:53

      Hello,

      For a Qt Widgets Application, is it possible to display the usual operating system console (like it happens when you run a "Plain C++ Application" project) instead / in place of the "Application Output" at the bottom (of the Qt Creator window)? The reason is that I'd like some colors displayed in the console (for the Catch testing framework output.. I've also read it may be better to do the tests ina different project, but I'm not sure how to set up the second project in order to (maybe) automatically import sources in the main project).

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 28 Apr 2017, 15:59 last edited by
      #2

      @PhantomR
      You can try
      alt text
      and see if its useful.

      M 1 Reply Last reply 28 Apr 2017, 16:03
      3
      • M mrjj
        28 Apr 2017, 15:59

        @PhantomR
        You can try
        alt text
        and see if its useful.

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 28 Apr 2017, 16:03 last edited by mrjj
        #3

        Hmm, dont seem very functional when a GUI app.
        Tried to write to it but nothing happened.
        So maybe its not fun when it has GUI.

        I have tried such mix but maybe something like
        https://sourceforge.net/projects/qconsole/
        can work ?

        1 Reply Last reply
        1
        • P Offline
          P Offline
          PhantomR
          wrote on 28 Apr 2017, 16:22 last edited by PhantomR
          #4

          @mrjj Thank you so much. The "Run in terminal" option actually worked for me (Ubuntu 17.04, Qt 5.8.0 x64, Qt Creator 4.2.1). Maybe if something goes wrong (hopefully not), I could also try looking at QConsole.

          Edit; I don't know why, but I cannot mark your post as the solution to my problem.

          M 1 Reply Last reply 28 Apr 2017, 16:42
          0
          • P PhantomR
            28 Apr 2017, 16:22

            @mrjj Thank you so much. The "Run in terminal" option actually worked for me (Ubuntu 17.04, Qt 5.8.0 x64, Qt Creator 4.2.1). Maybe if something goes wrong (hopefully not), I could also try looking at QConsole.

            Edit; I don't know why, but I cannot mark your post as the solution to my problem.

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 28 Apr 2017, 16:42 last edited by
            #5

            @PhantomR
            Super. I thought u were on windows. Its a bit different with "terminals" so im not
            surprised if it works better in linux.

            Hmm, yes you are right, i cannot see that menu item either ?!:)

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 28 Apr 2017, 21:20 last edited by
              #6

              Hi,

              Once marked as solved you can't select the "correct answer anymore" unless your revert the state.

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

              M 1 Reply Last reply 28 Apr 2017, 21:36
              1
              • S SGaist
                28 Apr 2017, 21:20

                Hi,

                Once marked as solved you can't select the "correct answer anymore" unless your revert the state.

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 28 Apr 2017, 21:36 last edited by
                #7

                @SGaist
                Ahh, sneaky :)

                1 Reply Last reply
                0

                1/7

                28 Apr 2017, 15:53

                • Login

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