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

Qt version not detected when importing build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • Qt Creator 6.0.2, Qt Creator 7.0.0-beta1
    • None
    • 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

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes