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. dyld: Library not loaded: @rpath/QtCore.framework/Versions/A/QtCore (While building linphone-Desktop)
Forum Updated to NodeBB v4.3 + New Features

dyld: Library not loaded: @rpath/QtCore.framework/Versions/A/QtCore (While building linphone-Desktop)

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 950 Views 2 Watching
  • 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.
  • K Offline
    K Offline
    KumarAnil
    wrote on last edited by
    #1

    dyld: Library not loaded: @rpath/QtCore.framework/Versions/A/QtCore
    Referenced from: /usr/local/bin/macdeployqt
    Reason: image not found
    CPack: Create package using DragNDrop
    CPack: Install projects
    CPack: - Run preinstall target for: linphoneqt
    CPack: - Install project: linphoneqt []
    dyld: Library not loaded: @rpath/QtCore.framework/Versions/A/QtCore
    Referenced from: /usr/local/bin/macdeployqt
    Reason: image not found
    CPack: Create package
    CPack: - package: /Users/startelelogic/linphone-desktop/build/OUTPUT/Packages/Linphone-4.3.0-alpha.83+b91c734f-mac.dmg generated.

    Working with linphone-desktop. Whenever I'm trying to build the application from the terminal, I am getting the above issue.
    My MacOS and Qt5 versions are 10.15.7 and 5.15.2 respectively.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      How did you install Qt ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply
      0
      • K Offline
        K Offline
        KumarAnil
        wrote on last edited by
        #3

        Through the .dmg installer online.

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          How did you install Qt ?

          K Offline
          K Offline
          KumarAnil
          wrote on last edited by KumarAnil
          #4

          @SGaist Now, I have reinstalled Qt5 version 5.12.9. Still getting the same Issue. How can I solve this Issue?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @KumarAnil said in dyld: Library not loaded: @rpath/QtCore.framework/Versions/A/QtCore (While building linphone-Desktop):

            /usr/local/bin/macdeployqt

            That path does not match what is usually used with the online installer. Are you sure you are using the correct executable ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • K Offline
              K Offline
              KumarAnil
              wrote on last edited by
              #6

              As I have mentioned above, I have reinstalled the Qt-v5.12.9. Now the issue has been changed from

              dyld: Library not loaded: @rpath/QtCore.framework/Versions/A/QtCore
              Referenced from: /usr/local/bin/macdeployqt
              Reason: image not found
              CPack: Create package using DragNDrop
              CPack: Install projects
              CPack: - Run preinstall target for: linphoneqt
              CPack: - Install project: linphoneqt []
              dyld: Library not loaded: @rpath/QtCore.framework/Versions/A/QtCore
              Referenced from: /usr/local/bin/macdeployqt
              Reason: image not found
              CPack: Create package
              CPack: - package: /Users/startelelogic/linphone-desktop/build/OUTPUT/Packages/Linphone-4.3.0-alpha.83+b91c734f-mac.dmg generated.
              

              to

              StarTeles-MacBook-Pro-2:build startelelogic$ ./OUTPUT/Linphone.app/Contents/MacOS/linphone --verbose
              dyld: Library not loaded: @rpath/QtQuickControls2.framework/Versions/5/QtQuickControls2
                Referenced from: /Users/startelelogic/linphone-desktop/build/./OUTPUT/Linphone.app/Contents/MacOS/linphone
                Reason: image not found
              Abort trap: 6
              

              .

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Did you rebuild your application from scratch and re-run the correct version of macdeployqt ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

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