Awesome Man
Awesome Man

Reputation: 172

How to run qt console app without console window?

So how to disable console? I trying to remove it from .pro file but it doesn't help at all.

CONFIG -= console

My goal is to run the app like background process that can be viewed in task manager not in desktop or any panels at all.

How to do that?

Upvotes: 2

Views: 3057

Answers (1)

Dimitry Ernot
Dimitry Ernot

Reputation: 6584

In Qt Creator, you have to uncheck "Run in terminal" (checked by default when you a create a Console application project). The output will be directed to output panel but you will not be able to send inputs...

But, if you run you app outside the IDE, you just have to set CONFIG -= console in the .pro file.

enter image description here

Upvotes: 2

Related Questions