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 executes 4 terminals
Forum Updated to NodeBB v4.3 + New Features

Run executes 4 terminals

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 3.3k 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.
  • G Offline
    G Offline
    GroundZero
    wrote on last edited by
    #1

    Dear reader,

    I am using Mac OS X Lion with the newest Qt version.
    I have set the option "run in terminal" because I just started learning C++ so all I am doing at this point is writing console (terminal) applications. I have set the path to my 'terminal' app.

    When I press the run button to test my code, it will execute my terminal in OS X Lion succesfully, the only strange and anoying this is that it executes four (4) terminal windows. All 4 have gibberish in them, even the one which shows my code (only on top, it says something like last time visited i.e. used the terminal app).

    Is there any way to prefent it from executing four (now it even executes more!) terminals everytime?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      GroundZero
      wrote on last edited by
      #2

      No one has any clue on how to fix this?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mlong
        wrote on last edited by
        #3

        Can you provide a screen shot, perhaps? That's an odd issue.

        Software Engineer
        My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          GroundZero
          wrote on last edited by
          #4

          This is the screenshot. It seems that my Terminal runs some various Qt resources which I do not even ask for automatically.

          http://img217.imageshack.us/img217/526/unled1rl.png

          The image is pretty large so I didn't use a image, but a link instead.

          Hope this gives you a bit more info on what is wrong.

          Best regards,

          GZ

          1 Reply Last reply
          0
          • G Offline
            G Offline
            GroundZero
            wrote on last edited by
            #5

            Dear reader,

            I am using Mac OS X Lion with the newest Qt version.
I have set the option “run in terminal” because I just started learning C++ so all I am doing at this point is writing console (terminal) applications.

            I have set the path to my ‘terminal’ app.nWhen I press the run button to test my code, it will execute my terminal in OS X Lion succesfully, the only strange and anoying this is that it executes four (4) terminal windows. All 4 have gibberish in them, even the one which shows my code (only on top, it says something like last time visited i.e. used the terminal app).

            Is there any way to prefent it from executing four (now it even executes more!) terminals everytime?
            This is the screenshot. It seems that my Terminal runs some various Qt resources which I do not even ask for automatically.

            http://img217.imageshack.us/img217/526/unled1rl.png

            The image is pretty large so I didn’t use a image, but a link instead.
            Hope this gives you a bit more info on what is wrong.

            Best regards,

            GZ

            1 Reply Last reply
            0
            • EddyE Offline
              EddyE Offline
              Eddy
              wrote on last edited by
              #6

              merged the 2 threads because they are the same.

              Please don't make unnecessary double posts.

              Qt Certified Specialist
              www.edalsolutions.be

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mlong
                wrote on last edited by
                #7

                If you're using Qt Creator, and if you're just wanting to view your console output, you shouldn't need to set the "Run in terminal" option. Any output from your application will automatically be visible in the "Application Output" panel at the bottom of the Creator window.

                Software Engineer
                My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  GroundZero
                  wrote on last edited by
                  #8

                  That's correct, but you can't use "cin" command's because it only supports output and no input. That's the whole problem otherwise I wouldn't need to do it this way haha.

                  Best regards

                  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