[Qt-interest] Mac deployment to 10.4

Dan White ygor at comcast.net
Mon Oct 5 14:19:21 CEST 2009


You are stepping backwards from Mac OS 10.5 to 10.4
I believe you have to have certain compiler flags set to include such backward comatibility.
I recall seeing something to that effect in the XCode mailing list

“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

----- Original Message -----
From: Oliver Demetz <forenbeitraege at oliverdemetz.de>
To: Qt-interest <qt-interest at trolltech.com>
Sent: Mon, 5 Oct 2009 11:37:53 +0000 (UTC)
Subject: [Qt-interest] Mac deployment to 10.4

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
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list