tags:

views:

31

answers:

0

I'm running Mac OS X 10.6 on my development machine and am building a QT application that I would like to work on 10.5 (and 10.4) as well as 10.6. My application has both a library component and a gui component, each as their own QT project with dependencies.

I have followed the instructions of the QT deployment guide. In both .pro files I have added:

CONFIG += x86 ppc
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4

I peered inside the makefile, and confirmed that it includes a line export MACOSX_DEPLOYMENT_TARGET = 10.4

I built QT static with the following configure: ./configure -universal -sdk /Developer/SDKs/MacOSX10.5.sdk/ -opensource -static -debug-and-release

I compiled my application in QT Creator, and the resultant application runs flawlessly on 10.6 machines, but crashes on 10.5 machines.

Is there anything else I need to be doing to get a QT application working on OS X 10.5? Does anyone have any idea why this is crashing?

Process:         MyApp[25908]
Path:            /Applications/MyApp.app/Contents/MacOS/MyApp
Identifier:      MyApp
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [109]

Interval Since Last Report:          17392106 sec
Crashes Since Last Report:           735
Per-App Interval Since Last Report:  0 sec
Per-App Crashes Since Last Report:   8

Date/Time:       2010-08-14 07:50:09.768 -0700
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  1BF30470-ACF2-46C7-B6D5-4514380965C8

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Symbol not found: __ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i
  Referenced from: /Applications/MyApp.app/Contents/MacOS/MyApp
  Expected in: /usr/lib/libstdc++.6.dylib