Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 4.5.0
-
None
-
QtCreator version: 4.5.0
Qt version: 5.10.0
CMake version: 3.10.0
OS: KDE neon User Edition 5.11
Description
QtCreator does not auto discover QtQuickTests.
In the left sidebar menu -> Tests all QtTests are listed, but no Quick Tests.
I added a minimalistic example project as an attachment. The project uses CMake, not QMake, might be that this is part of the issue.
The CMakeLists.txt is from the Autotest project generator, I added a custom command to copy the qml files to the output directory. So that the test executable can find the tests cases as well.
A better way would be if we can add the test qml files via a resource, just like we can with normal QtQuick applications / projects. If I am correct, there is no option to let QUICK_TEST_MAIN use qml files from the Qt Resource System.