Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 4.15.2
-
None
Description
With qmake, it was possible to select both examples and tests as run targets with Ctrl + T. With CMake (in e.g. qtdeclarative), I can only select auto tests. This means that it's more convenient to use the command line to build and run examples (which itself is not convenient).
If it matters, Qt was built as a per-repo build with these configure options:
-DCMAKE_BUILD_TYPE=Debug -DFEATURE_developer_build=ON -DQT_BUILD_TESTS=ON -DQT_BUILD_TESTS_BY_DEFAULT=OFF -DQT_BUILD_EXAMPLES=ON -DQT_BUILD_EXAMPLES_BY_DEFAULT=OFF -DECM_ENABLE_SANITIZERS=address
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-26168 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
368783,7 | CMake: Allow opting out of building examples as ExternalProjects | dev | qt/qtbase | Status: MERGED | +2 | 0 |
369289,2 | CMake: Allow opting out of building examples as ExternalProjects | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |