Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101668

Conan's qtbuildprofiles has invalid `settings.compiler.version` value in MSVC profile.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.2
    • Fix Version/s: None
    • Component/s: Conan
    • Labels:
      None
    • Environment:
      CMake 3.21.2
      Conan 1.45.0
      Windows 11
      Qt 6.2.2
    • Platform/s:
      Windows

      Description

      I followed the tutorial of this link to use Conan to install Qt6. However, when I running the following command:

      conan install . --build=missing --profile=C:\qtbuildprofiles-6.2.2\windows-x86_64-msvc2019_64 --update --generator=CMakeDeps -r qt
      

      I met this error:

      ERROR: Invalid setting '19.28' is not a valid 'settings.compiler.version' value.
      Possible values are ['190', '191', '192', '193']
      Read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-invalid-setting"
      

      According to the troubleshooting link, it looks like we have to manually modify the `%UserProfile%/.conan/settings.yml`.

      • If we really need to modify something in `settings.yml`, what should we do next?
      • If this is a bug, maybe Qt official needs to fix it.

        Attachments

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

          Activity

            People

            Assignee:
            iknd Iikka Eklund
            Reporter:
            hwhsu1231 Haowei Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes