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. Install on Mac
Forum Updated to NodeBB v4.3 + New Features

Install on Mac

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.1k 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.
  • G Offline
    G Offline
    GrahamL
    wrote on last edited by
    #1

    Hi
    I am trying to get my app running under Mac OS with no Qt installed.

    I have managed to get the application running on Linux and windows machines by installing the required Qt libraries and setting the path variables.

    I am very new to the Mac and would be grateful if anyone an tell me what I need to do in order to install the libs on the Mac and what (if any) variables I need to set

    Thanks

    Graham

    1 Reply Last reply
    0
    • M Offline
      M Offline
      miroslav
      wrote on last edited by
      #2

      Hi! Have a look at this page: http://qt-project.org/doc/qt-4.8/deployment-mac.html

      The Qt libs need to be bundled with the application. The guide explains how to do it. Qt's macdeployqt tool helps with the library run path mangling.

      Mirko Boehm | mirko@kde.org | KDE e.V.
      FSFE Fellow
      Qt Certified Specialist

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GrahamL
        wrote on last edited by
        #3

        Thanls

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bovilexic
          wrote on last edited by
          #4

          Just to add a little on this... (BTW, the referenced web page is indeed well recommended...)

          I use Xcode for building Qt apps on Mac, and I don't really know if Qt Creator can do something similar, so this may not be all that useful for you. The "hassle" with all of this surgery on the Frameworks is that you have to do it every time you compile. In XCode, you can automate this by adding a new build phase to your target (add a Run Script), and simply put in your calls to "install_name_tool" into that script. Then, when you build, you are assured that the paths are all correct. If this sounds like it would help, ping me back if you need more details.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            GrahamL
            wrote on last edited by
            #5

            Thanks
            I now have creator working

            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