Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Setup conan with Qt 6 error
Forum Update on Monday, May 27th 2025

Setup conan with Qt 6 error

Scheduled Pinned Locked Moved Unsolved General and Desktop
conan
1 Posts 1 Posters 215 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    akshaybabloo
    wrote on 26 Nov 2021, 23:53 last edited by akshaybabloo
    #1

    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 the cmake_paths generator as shown in -> https://docs.conan.io/en/latest/integrations/build_system/cmake/cmake_paths_generator.html#included-in-your-cmakelists-txt

    Has anyone have similar issue?

    1 Reply Last reply
    0

    1/1

    26 Nov 2021, 23:53

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved