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

The conan extension can't find my compiler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.15.1, Qt Creator 6.0.0, Qt Creator 6.0.1
    • None
    • Windows

    Description

      Okay, so this one is half a question and half a bug report.

      The question -----------------

      So, I mostly care about CMake projects, and I noticed that with those, Qt Creator already handles conan and vcpkg (and quite well, must be said, kudos).

      So what's the Conan extension for? Qmake projects? Or something I'm missing?

      The bug --------------------

      Anyhow, I decided to give the extension a try.

      It added a step to my build:

      But it can't do it:

      10:27:27: Starting: "[...]\conan.exe" install -s "build_type=Debug" "--build=missing" [...]\conanfile.txt
      Configuration:
      [settings]
      arch=x86_64
      arch_build=x86_64
      build_type=Debug
      os=Windows
      os_build=Windows
      [options]
      [build_requires]
      [env]ERROR: doctest/2.4.5: 'settings.compiler' value not defined
      10:27:28: The process "conan.exe" exited with code 1.
      Error while building/deploying project [PROJECT_NAME_HERE] (kit: Desktop Qt 6.1.1 MSVC2019 64bit)
      When executing step "Conan install"
      10:27:28: Elapsed time: 00:01.
      

      So I think the conan extension should pass more information automatically on that command line invocation, that's my hint.

      I use the preview versions of MSVC and they work fine in the automatic CMake integration.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            lordkalma Rui Oliveira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes