Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
'mouseClick' : is not a member of 'QTest'
I Visual Studio 2013, I am getting "'mouseClick' : is not a member of 'QTest'", even though I have checked "Test" in "QT Modules" in the QT Project Settings for the project, and #included <QTest> in the sourcecode.
Funny thing is, it does recognize the QTest namespace and some of the methods like f.ex. "addColumn". But none of the mouse... or key... methods, so it's almost like only part of the namespace has been included.
Is there anything else I need to include or set up to be able to use the rest of the methods (specifically, I need QTest::mouseClick)?
Please check if you did this ?
@mrjj Thanks you. That worked.
I ultimately ended up adding the following to Preprocessor definitions in Visual Studio. That way, I can just include <QTest>
If possible please mark as solved :)
@mrjj I think I did that.
Yes its green and nice :)