You can probably disable the console by adding:
after the line containing
You can probably disable the console by adding:
after the line containing
Hi,
I am facing the same issue, i modified the *.pro file as per your suggestion, but no help. Still the optput is same and I get a log-window which prompts all the qDebugs.
CONFIG += qtestlib
CONFIG -= console
Is there any other way to get rid of this problem.
Thanks,
Did you try running the tests with the -silent option?
tried:
CONFIG += qtestlib
CONFIG -= silent
Still same result![]()
I off course mean the command line option.
http://doc.qt.nokia.com/4.7/qtestlib-manual.html
Thanks for the quick reply. I tried both ways 1) command line option and 2) add this in *.pro file.
As per my understanding, if you include Qtestlib in your project then the second window (log window) will always open along with you UI (application window). What i dont need is the log window, and just my app should be running. I need QTestlib as well.
Is it possible to include QTest without opening a log-window on application start?
I don't really understand. If you are running unit tests, why does it matter to you if the console appears?
Bookmarks