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

Importing qtquickcontrols2 from a per-repo cmake build always results in an "Imported Kit"

XMLWordPrintable

    • 06410dcb809eab179a1526fc1e33fbc2ef15bf7b

      1. Build per-repo build of Qt, including qtquickcontrols2.
      2. Set up a kit manually for that build in Creator.
      3. Open qtquickcontrols2/CMakeLists.txt and import the build from earlier. The project will be configured using an automatically generated "Imported Kit" instead of the manually defined kit.

      The correct behaviour can be seen when importing qmake builds; Creator sees that the build belongs to an existing Qt version and sets up the project using the correct kit.

      Comparing the manually defined kit and the generated Imported Kit, the only difference I can see is that the Imported Kit is missing a Qt version.

        1. qtcreatorbug-25069-windows-imported-kit.png
          48 kB
          Mitch Curtis
        2. qtcreatorbug-25069-windows-manual-kit.png
          48 kB
          Mitch Curtis
        3. qtcreatorbug-25069-windows-identical-names-different-toolchains.png
          4 kB
          Mitch Curtis
        4. vokoscreen-2020-12-10_18-57-50.mp4
          1.87 MB
          Cristian Adam
        5. qtcreatorbug25069-windows.mkv
          4.90 MB
          Mitch Curtis
        For Gerrit Dashboard: QTCREATORBUG-25069
        # Subject Branch Project Status CR V

            cadam Cristian Adam
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes