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. Error with Qt project running on a MAC
Qt 6.11 is out! See what's new in the release blog

Error with Qt project running on a MAC

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 2.4k Views 1 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi all,

    I have a c++ project working perfectly on windows that uses bass library.
    The IDE that i am using is QT

    I am trying to run the same project in MAC, also using QT, and I am having a problem running the project.
    The project builds OK but I get the following error when running the project.


    Last login: Wed Dec 24 20:03:29 on ttys000
    pc-144-144:~ Ali$ cd /Users/Ali; /Users/Ali/Qt/Qt\ Creator.app/Contents/MacOS/../Resources/qtcreator_process_stub run /var/folders/wq/s_wqb7w94jx83dy0gx3cqt_h0000gn/T/QtCreator.EL3393/stub-socket Press\ <RETURN>\ to\ close\ this\ window... /Users/Ali/Desktop/build-MyTest-Desktop_Qt_5_4_0_clang_64bit-Debug /var/folders/wq/s_wqb7w94jx83dy0gx3cqt_h0000gn/T/QtCreator.rh3393 3393 /Users/Ali/Desktop/build-MyTest-Desktop_Qt_5_4_0_clang_64bit-Debug/MyTest
    dyld: Library not loaded: /work/build/PADDING/lib/QtCore.framework/Versions/5/QtCore
    Referenced from: /Users/Ali/Desktop/build-MyTest-Desktop_Qt_5_4_0_clang_64bit-Debug/MyTest
    Reason: image not found
    Press <RETURN> to close this window...

    I am new to Mac development.

    Am I missing something? Any help would be fantastic!

    Thanks

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

      Hi and welcome to devnet,

      Looks like you have a case of badly installed Qt. Did you by any chance installed Xcode after Qt ?

      In any case, you should first remove and re-install Qt.

      On a side note it's Qt, QT stands for Apple QuickTime which you might be using since you're working with OS X.

      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
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Hi there,
        Thank you so much for your message.
        Yes, I actually did install Xcode after QT, but, removed QT from Users directory and used CleanMyMac to uninstall it. Then re-installed it. During Installation for the second time (after installing Xcode) I got some errors on Android packages, I just ignored them and continued the installation. Any further help from you, SGaist, is appreciated.
        Thanks
        Ali

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Hi there,
          Thank you so much for your message.
          Yes, I actually did install Xcode after QT, but, removed QT from Users directory and used CleanMyMac to uninstall it. Then re-installed it. During Installation for the second time (after installing Xcode) I got some errors on Android packages, I just ignored them and continued the installation. Any further help from you, SGaist, is appreciated.
          Thanks
          Ali

          [quote author="SGaist" date="1419455512"]Hi and welcome to devnet,

          Looks like you have a case of badly installed Qt. Did you by any chance installed Xcode after Qt ?

          In any case, you should first remove and re-install Qt.

          On a side note it's Qt, QT stands for Apple QuickTime which you might be using since you're working with OS X.
          [/quote]

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

            What exact error message did you got ?

            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
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              Hi SGaist, and Thanks a lot for your support.
              Here are the exact errors:

              Error during installation process (qt.54.clang_64):
              Command xcrun failed.
              Arguments: install_name_tool -id /Users/Ali/Qt/5.4/clang_64/lib/QtQml.framework/Versions/5/QtQml_debug /Users/Ali/Qt/5.4/clang_64/lib/QtQml.framework/Versions/5/QtQml_debug
              Output:

              Error during installation process (qt.54.qtwebengine.clang_64):
              Command xcrun failed.
              Arguments: install_name_tool -id /Users/Ali/Qt/5.4/clang_64/lib/QtQml.framework/Versions/5/QtQml_debug /Users/Ali/Qt/5.4/clang_64/lib/QtQml.framework/Versions/5/QtQml_debug
              Output:

              Error during installation process (qt.extras.qtwebview.qt54.clang_64):
              Command xcrun failed.
              Arguments: install_name_tool -id /Users/Ali/Qt/5.4/clang_64/lib/QtWebView.framework/Versions/5/QtWebView_debug /Users/Ali/Qt/5.4/clang_64/lib/QtWebView.framework/Versions/5/QtWebView_debug
              Output:
              [quote author="SGaist" date="1419463750"]What exact error message did you got ?[/quote]

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                And, just one more thing to note, I did not get any of those errors on my first installation of Qt when I did not have Xcode installed yet. And, now, when I use Xcode itself, it suddenly crashes unexpectedly.
                Thanks
                Ali

                [quote author="SGaist" date="1419463750"]What exact error message did you got ?[/quote]

                1 Reply Last reply
                0
                • hskoglundH Offline
                  hskoglundH Offline
                  hskoglund
                  wrote on last edited by
                  #8

                  Hi you can check you have Xcode 6.1.1 installed. Also that you have Command Line Tools installed, "download here":https://developer.apple.com/downloads/index.action?name=Xcode#

                  In Terminal, type xcrun --version to see you have version 23 installed.

                  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