Setup conan with Qt 6 error
Unsolved
General and Desktop
-
wrote on 26 Nov 2021, 23:53 last edited by akshaybabloo
I have tried to use the setup provided here -> https://docs.conan.io/en/latest/integrations/build_system/cmake/cmake_generator.html
There are two ways to setup (according to the document) one is using
TARGETS
and the one without it. I tried both of them and I get the following error when I build and run the code:dyld: Library not loaded: @rpath/QtWidgets.framework/Versions/A/QtWidgets Referenced from: /Users/akshayrajgollahalli/Documents/GitHub/VideoSequencer/cmake-build-debug/bin/VideoSequencer Reason: image not found
This error goes aways if I don't setup conan using
conan_basic_setup
and works fine using thecmake_paths
generator as shown in -> https://docs.conan.io/en/latest/integrations/build_system/cmake/cmake_paths_generator.html#included-in-your-cmakelists-txtHas anyone have similar issue?
1/1