How to force the run in terminal option?



  • 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?


  • Moderators

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



  • 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]


  • Moderators

    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.



  • 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]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.