Qt Test issue
Unsolved
General and Desktop
-
HI!
I have some tests in Qt. My test exe has a hand made main, because I wanted to have more then one test class. As I use debug, warning and info logging a lot, I always have to set -maxwarnings 0 in the command line, so that logging does not "explode".
I would like to have that in code, because I use to forget to adabt the command line from time to time. But the method QTestLog::setMaxWarnings seems not to be available for my code.
Any idea, how I can set it anyhow?Best regards
Holger