Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7803363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:33:30+00:00 2026-06-02T01:33:30+00:00

The Mac QT Installer puts its shared libraries under /Library/Frameworks/QtXXX.Framework . I’m building a

  • 0

The Mac QT Installer puts its shared libraries under /Library/Frameworks/QtXXX.Framework.
I’m building a QT application using a qmake-generated xcode project. I’d like to add these frameworks as private framewords inside my app bundle for easy deployment.

I’ve tried various options for doing this but I don’t seem to be able to make it work. What I did –

  • change the Qt framework files in /Library/Frameworks/ using install_name_tool as described here
  • copy the these framework bundles manually to inside the app bundle
  • recompiling the bundle.

When I change the name of the original framework so it would appear that it’s not there, the app crashes and says that it doesn’t find the needed framework. What am I doing wrong?

Using xcode 4.3 on OSX 10.7.3

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T01:33:32+00:00Added an answer on June 2, 2026 at 1:33 am

    Some options to deploy a Qt application on Mac:

    • Qt comes with the macdeployqt tool, to bundle Qt with the built app bundle. The tool is a bit limited though and might or might not do what you want.
    • CMake comes with DeployQt4, which can also be used for deployment only, in case one doesn’t want to use cmake for the build as well.
    • One can write his own script using install_name_tool as described in your link. If it doesn’t work, check with otool -L if you replaced all absolute paths in the executable and bundled libraries. You will have to fix the paths for the bundled libraries, too! (recursively, so to say).

    The latest released cmake version (2.8.7) doesn’t support XCode 4.3 properly though: Since Xcode 4.3, files previously being installed to /Developer are now in /Applications/Xcode.app/Contents/Developer. cmake still expects them in /Developer. That is fixed in cmake master but not released yet. A workaround is to create a symlink:

    ln -s /Applications/Xcode.app/Contents/Developer /Developer
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to make an installer for java application in mac what are the different
Hi I am using package-maker of Mac OS to create installer package for Mac
I just installed gd2 using mac ports (sudo install gd2), which installed libraries in
I installed matplotlib using the Mac disk image installer for MacOS 10.5 and Python
I have installed pygames on my mac, using the installer in the following package
How to create a native Mac installer file for an adobe AIR application? Can
I need to create an installer for a Mac application that not only unpacks
I need to create a nice installer for a Mac application. I want it
I have a mac os x installer and its version is 23.1. So I
I've installed MySQL on my Mac running lion using their DMG installer. This has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.