Answer the question
In order to leave comments, you need to log in
How to set up Qt creator + conan?
There is a project on cmake, I decided to use conan to manage dependencies.
If you collect from the console, then everything is ok:
conan install ..
cmake ..
cmake --build .
conan install -s build_type=Debug --build=missing /path/to/conanfile.txt
Answer the question
In order to leave comments, you need to log in
Found a solution:
In the main CMakeLists.txt, it's better to call the conan installation right after the project (...)
execute_process(COMMAND conan install --update --build=missing ${CMAKE_SOURCE_DIR})
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup(TARGETS)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question