Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Build on Mac OS X 10.8 for targets >= 10.6 (Snow Leopard)

$
0
0
Hello, I want to build my Qt application on Mac OS X 10.8. However, I want my application to run on Mac OS X 10.6 (Snow Leopard) or higher. My .pro file contains the lines QMAKE_CXXFLAGS_X86_64 += -mmacosx-version-min=10.6 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 However, my application only runs on 10.8 and not on 10.6, where it crashes immediately (I haven’t tried 10.7 yet). I’m using macdeployqt to create an application bundle, but I do get an error (although the .dmg is built): ERROR: "install_name_tool: changing install names or rpaths can't be redone for: sigviewer.app/Contents/Frameworks//libtiff.5.dylib (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names) " ERROR: "" ERROR: "install_name_tool: changing install names or rpaths can't be redone for: sigviewer.app/Contents/Frameworks//libtiff.5.dylib (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names) " ERROR: "" I’d appreciate any hints on how to build my app for 10.6. The source code is available at: http://sourceforge.net/projects/sigviewer/files/0.5.2/sigviewer-0.5.2-src.tar.gz/download To build the app, you need to extract the following file into the source tree: http://sourceforge.net/projects/sigviewer/files/0.5.2/external-0.5.2-macx.zip/download Thanks, Clemens

Viewing all articles
Browse latest Browse all 18427

Trending Articles