Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problem with installation on Mac OS X

Problem with installation on Mac OS X

Scheduled Pinned Locked Moved Installation and Deployment
14 Posts 2 Posters 4.0k 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.
  • J Offline
    J Offline
    jpalbertini
    wrote on last edited by
    #3

    well the macdeployqt also have the link problem so I did not try problem, I linked it and shows me all the dylib that it cannot solve: QPrintSupport, QtWidgets, QtGui, QtCore, libqcocoa...

    but thanks I will tried some things :)

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

      That's strange, what version of Qt did you install ?

      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
      • J Offline
        J Offline
        jpalbertini
        wrote on last edited by
        #5

        the standard 5.1.1 for MacOsX using clang64

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jpalbertini
          wrote on last edited by
          #6

          I tried to uninstall, reboot, reinstall it in a different path like /Developper/Tools (yeah a windows guy) and it does not work very much. Even if i create a simple project using qt creator, it compile fine and then crashes with:
          "dyld: Library not loaded: /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/PADDING/lib/QtWidgets.framework/Versions/5/QtWidgets"

          nobody encountered this pb ?? ;(

          next step is rebuilding with gcc...

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

            It looks like there's something wrong with the id in the frameworks. You could try to change them to the path where you installed them

            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
            • J Offline
              J Offline
              jpalbertini
              wrote on last edited by
              #8

              well i tried that with my application (copy in Core, Gui and widgets.framework in my app Framework did and using name_tool) and then I got “This application failed to start because it could not find or load the Qt platform plugin “cocoa”.”

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

                You should rather run macdeployqt then, it will also copy the needed plugins in your bundle.

                Just wondering, when does it crash ? When you run it from QtCreator or by doubling clicking on it ?

                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
                • J Offline
                  J Offline
                  jpalbertini
                  wrote on last edited by
                  #10

                  both, it make things easier ;)

                  and even macdeployqt had the problems with the library ids, and when i did fixed that it gave me a lot of errors coming from both my libraries and Qt ones

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

                    I've reread your first post, did you check that all your files/libs where build int 64bit ?

                    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
                    • J Offline
                      J Offline
                      jpalbertini
                      wrote on last edited by
                      #12

                      Well, I do not know how to found out, but there is only one installer for Mac so I thought I got the good one...

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

                        Using the file command

                        Indeed it should be... By the way, which OS X version are you running ?

                        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
                        • J Offline
                          J Offline
                          jpalbertini
                          wrote on last edited by
                          #14

                          Mac OS X 10.8.5 with XCode 4.8, not the recent 5.0 (if I could dodge some problems I'm happy... )

                          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