QDebug output in dos Shell
-
Hi All,
I've a question for you: from 3 days when I run my app from qtcreator it with application open also a dos shell where "qDebug()<<" command put output.
Some of you do you know how can i remove this feature.Thanks.
-
Have you tried doing release builds?
-
Try
@
CONFIG -= console
@ -
have you got the run in terminal option checked in the project settings?
-
Where is this check in project settings?
-
I'm compiling in release mode and i've tryed with CONFIG -=console, and i've also check abput the console option in run setting and it is disable, but i've always the same problem.
Any other ideas?
-
Any others ideas?
-
did you re-create your makefile after adding the CONFIG-=console line?
You have to run "qmake" to recreate the makefile if you haven't done it yet.
-
I know that could a very stupid question but to recreate makefile i should simply go on debug menu and pres qmake.
This is what i do. Is this right?
Thanks
-
yes, in the build menu, you just need to click on "run qmake"
do a clean build also -
Ok thanks a lot for your quickly reply.
-
@qwerty finally did your problem get solved?
-
No my problem is unsolved at now.
-
But the great issue also is that i do not know how and when this "feature" come...
-
post or attach all ur files here, one of us will try
-
qwertyuiopea Do you use QCoreApplication or QApplication?
-
I'm using QApplication.
-
I have the same issue, but i resolving use in the .pro file CONFIG += console and regeneration the makefile and rebuild all. This work for me.
-
stuk, maybe CONFIG -= console
-
qwertyuiopea Have you tried to set @CONFIG -= console@ , delete makefile and build project over again?