Project fails to compile in debug mode
General and Desktop
5
Posts
3
Posters
2.2k
Views
1
Watching
-
My project compiles and runs perfectly in release mode, but when I use debug mode, i get around 22 errors
@
in function qwait.
undefined reference to Qtest::qsleep.
undefined reference to Qtest::defaultkeyDelay@I havent used qwait or qtest lib anywhere in my program.
-
I have not a lot of experience qith creator and linux. Assuming that you tried already rerunning qmake, you may want to check the pro file and its includes if there is a reference to testlib.
Another possibility could be that you are using a header which is testing a macro settings you are defining only in debug compile. But all is poking into the fog from my side.