[Qt-interest] Mac deployment to 10.4
Oliver Demetz
forenbeitraege at oliverdemetz.de
Mon Oct 5 13:37:53 CEST 2009
Hi!
I have developed my app under Windows and now I am porting to Mac OS.
My development mac is a intel macbook, with qt 4.5.2 installed, mac
version is 10.5.
I added to my project file:
mac{ CONFIG+=x86 ppc }
after running qmake and make release, I run macdeployqt, which gives no
error. After this, it is possible to doubleclick the app-bundle, and my
app opens and runs as expected.
Now I bought an older iBook G4 running Mac os 10.4.2.
I copied the app-bundle to it, and it does NOT work.
Executing the executable from the terminal whows the following output:
> openglTest.app/Contents/MacOS/openglTest
> dyld: Symbol not found: _kTISPropertyUnicodeKeyLayoutData
> Referenced from: /Users/oliverdemetz/Desktop/openglTest.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui
> Expected in: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
>
> Trace/BPT trap
For completeness, here is the otool output (from the dev machine):
> otool -L openglTest.app/Contents/MacOS/openglTest
> openglTest.app/Contents/MacOS/openglTest:
> @executable_path/../Frameworks/QtOpenGL.framework/Versions/4/QtOpenGL (compatibility version 4.5.0, current version 4.5.2)
> @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui (compatibility version 4.5.0, current version 4.5.2)
> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0)
> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.54.0)
> @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore (compatibility version 4.5.0, current version 4.5.2)
> /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
> /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
> /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
> /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
Please help, I am not so familiar with the mac os x deployment pitfalls.
Best wishes,
Oliver
More information about the Qt-interest-old
mailing list