Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
None
-
6.5.5
-
None
Description
Steps to reproduce
- install Qt 6.5.5 from the maintenance tool
- open Qt Creator
- select basicdrawing example
- choose to copy it to a local directory
- remove CMakeLists.txt
- run pro2cmake.py basicdrawing.pro
- build (and run CMake) in Qt Creator
Expected result
- example can be configured
- example compiles
- example runs
Actual result
CMake fails with
axel@axelsqt:~/QtDev/basicdrawing/build/Qt_6_5_5_6_5-Debug> cmake . --trace-expand --trace-redirect=cmake.trace
Put cmake in trace mode, but with variables expanded.
Put cmake in trace mode and redirect trace output to a file instead of stderr.
Trace will be written to cmake.trace
CMake Error at CMakeLists.txt:19 (qt_add_executable):
Unknown CMake command "qt_add_executable".
Workaround
- qmake basicdrawing works
- selecting 6.6.1 from the installer makes CMake work