Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Error for include file in QtTest
-
I have a qt file with integrated with qml which is to be tested with QtTest but after all include file error pops up for #include<QQuickWindow> file not found
-
Do you have
QT += quick
in your test .pro file?
-
yes I have included it in my .pro file
-
Can you share your test file? Perhaps you are using/ not using correct main-generating macro?