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

CMake: Imported build uses wrong kit as base

    XMLWordPrintable

Details

    Description

      I am using a toolchain file to cross compile for QNX.

      I have created a QNX kit in Qt Creator and marked it as default.

      After opening a CMake project and selecting the import functionality, Qt Creator uses the "Desktop" kit as base, which makes not sense for my QNX build.

      I had to go to settings and change the device, compiler, debugger and so on.

      Then I had to take my chances with the infamous "CMake versus Project changes dialog", which I can't say I get 100% right.

      Qt Creator should either use the default kit as base, or to use some heuristics which would match the C and C++ compiler in the existing build.

      I have attached a screencast showcasing the issue.

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            cadam Cristian Adam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes