Skip to content
  • 0 Votes
    17 Posts
    3k Views
    V
    The error occurs because the auto-setup script created by QtCreator (build/.qtc/package-manager/conan_provider.cmake) cannot determine the current C++ standard. Take a look at the function function(detect_host_profile output_file). The error is fixed by moving the C++ standard setting to the very beginning of your CMakeLists.txt script, before the project keyword. For example, the correct CMakeLists.txt: cmake_minimum_required(VERSION 3.16) # it is important that the standard be defined before the project keyword set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) project(i18n_strict LANGUAGES CXX)
  • Conan + CMake + Qt 6.5 deployment issue

    Unsolved Installation and Deployment conan cmake deploy
    4
    0 Votes
    4 Posts
    1k Views
    K
    @codeform I'm having the same issue. Conan's version of Qt doesn't seem to set the right qt cmake variables. Namely, QT6_IS_SHARED_LIBS_BUILD and QT_DEPLOY_SUPPORT are missing.
  • Setup conan with Qt 6 error

    Unsolved General and Desktop conan
    1
    0 Votes
    1 Posts
    283 Views
    No one has replied