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

QtCreator 17 ignores CMakeUserPresets.json generated by Conan 2 (works in 16)

XMLWordPrintable

    • Linux/X11, Other
    • d3b5d3c57 (17.0)

      I am migrating Conan 1.x to Conan 2 (with enormous pain), and noticed hat QtCreator 17 (installed via Online Installer, with commercial license) kinda ignores the fact that there's CMakeUserPresets.json generated near CMakeLists.txt.

      Conan2 generates this CMakeUserPresets.json for me:

       

      {
          "version": 4,
          "vendor": {
              "conan": {}
          },
          "include": [
              "../../Debug/GPTDeviceServer/_build/CMakePresets.json",
              "../../Release/GPTDeviceServer/_build/CMakePresets.json"
          ]
      } 

      If I open CMakeLists.txt near that preset, QtCreator 17 just shows typical Qt kit selection mode, NOT preset mode:

       

      While if I open same CMakeLists.txt with separately downloaded older QtCreator 16.0.2 (from here), I see proper preset selection mode:

       

        1. image-2025-09-16-13-30-16-598.png
          89 kB
          Vincas Dargis
        2. image-2025-09-16-13-31-53-775.png
          41 kB
          Vincas Dargis
        3. conan.tar.gz
          1 kB
          Vincas Dargis
        For Gerrit Dashboard: QTCREATORBUG-33509
        # Subject Branch Project Status CR V

            cadam Cristian Adam
            talkless Vincas Dargis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes