Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27033

Qt version not detected when importing build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 6.0.2, Qt Creator 7.0.0-beta1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 20.04 LTS

      Description

      1. Have a terminal with paths to cmake and to Qt's bin directory in PATH.
      2. Build a CMakeProject:
        qt-cmake /tmp/projekte/myProject/ && cmake --build .
        
      3. 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.
      4. 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".
      5. 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            cadam Cristian Adam
            Reporter:
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes