Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to force the run in terminal option?
QtWS25 Last Chance

How to force the run in terminal option?

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 4.6k Views
  • 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.
  • K Offline
    K Offline
    Kimi Arthur
    wrote on last edited by
    #1

    Hello.
    As I have tested, Qt won't give a popup when debugging a console program. Also it cannot take in any input since there is no tunnel such as a terminal.

    So I can only check the run in terminal option for the projects. However, it is quite understandable that all projects of the same category, say console, should have similar settings for this option. So I wonder whether we can add a line in the wizard to force the run in terminal option to be checked?

    It won't be annoying since it only applies for one category of programs. So is there a way or can we make it in the future?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      I assume you are talking about Qt Creator and not the Qt library?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Kimi Arthur
        wrote on last edited by
        #3

        Yes, surely.
        In the creator, we can let the program run in terminal by ticking one checkbox in the property section for run. However, if we have to check it time and time again, I'd think it annoying.
        So I propose maybe we can add a field in the creation of a project which indicate the default value for the run in terminal option. That'd be nice since every project derived from the same template is quite likely to have the preference for this option (maybe some other options for project build and run, say, we want to build the GUI projects with the VS or a console with a MinGW compiler).
        So I'd like to know whether it is already possible or whether we can make it possible in the future. I think it's easy just to just add one element in the .xml file for templates.

        [quote author="Tobias Hunger" date="1305137361"]I assume you are talking about Qt Creator and not the Qt library?[/quote]

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          I think your suggestion makes sense. Please "file a feature request":http://bugreports.qt.nokia.com/ in our bugtracker and we'll see whether we get round to implement it.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Kimi Arthur
            wrote on last edited by
            #5

            Nice. So my description here is clear enough, right?
            [quote author="Tobias Hunger" date="1305189560"]I think your suggestion makes sense. Please "file a feature request":http://bugreports.qt.nokia.com/ in our bugtracker and we'll see whether we get round to implement it.[/quote]

            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