C++ - Qt - Visual Studio 2010 - application with both gui and console

前端 未结 3 2056
名媛妹妹
名媛妹妹 2021-01-01 07:14

If no arguments are given to the program it launches as a GUI application, if it is given args it is run through the command line. I was able to get visual studio to displa

3条回答
  •  我在风中等你
    2021-01-01 08:10

    You can have it using the windows subsystem, and calling AllocConsole when you need a console while the application has a gui as well.

提交回复
热议问题