Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
Qt Creator 4.15.0
-
None
-
0a1256a52d8c6c1b85a10f7dc94dfc34e3540040 (qt/tqtc-qtbase/6.2)
Description
I ran
python3 ~/dev/qt-dev/qtbase/util/cmake/run_pro2cmake.py tests/manual/
and it generated this:
https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/336377
When I open qtquickcontrols2/CMakeLists.txt in Creator, the manual tests don't show up in the project tree.
I'm using a per-repo build, not a top-level build.
When I open an individual test, I get this error message:
/home/mitch/dev/qt-dev/qtquickcontrols2/tests/manual/testbench/CMakeLists.txt:7: error: Unknown CMake command "qt_internal_add_manual_test".
Configuring the test with qt-cmake-standalone-test from the command line is a workaround:
mitch@mitch-ubuntu-20:~/dev/qt-dev-debug/qtquickcontrols2/tests/manual/testbench$ ~/dev/qt-dev-debug/qtbase/bin/qt-cmake-standalone-test ~/dev/qt-dev/qtquickcontrols2/tests/manual/testbench
Attachments
Issue Links
- relates to
-
QTCREATORBUG-24872 Can't open CMake auto test in Creator
- Closed
-
QTBUG-93020 Make each Qt CMake test a standalone project so that the project can be built by IDEs
- Open