I am trying to create a "Qt unit test" following this tutorial. I created a new project: Qt Gui Application with a header file as mentioned and a class that contains the test function. I added #CONFIG += testlib
to my ".pro" file
. However, when I run my code, I get this errors:
In function `simulateEvent':
then in function 'mouseEvent':
then in function 'simulateEvent' again:
then in function 'mouseEvent' again:
I could not find any explanation for this as everything looks right . what am I missing ?
Try QT += testlib
, without starting #