Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
Qt Creator 6.0.2, Qt Creator 7.0.0-beta1
-
None
-
Ubuntu 20.04 LTS
Description
- Have a terminal with paths to cmake and to Qt's bin directory in PATH.
- Build a CMakeProject:
qt-cmake /tmp/projekte/myProject/ && cmake --build .
- From the same terminal, start Creator with parameter "-tcs".
Creator reads PATH and creates a kit which will use exactly the binaries you used for building your project. - Open the project in Creator.
Creator may automatically find the build from step 2. If it doesn't, use "Import Build From..." and import that build. The result will be the same: Although the build in step 2 was done with the binaries which are configured in the existing kit, Creator sets up "Imported Kit - temporary". - Click "Manage..." and select the temporary kit.
Its Qt version is "None". Creator did not correctly import the Qt version for the existing build.
Creator should be able to figure out the Qt version used for the existing build. When the project was built in Qt Creator instead of from the command line, this works correctly.
Attachments
Issue Links
- resulted in
-
QTCREATORBUG-29913 Clang picked as compiler for an autodetected GCC kit
- Reported