osx - Qt OS 10.6 build not running on OS 10.5 and less -
this issue has been queried twice before separate people, there have been no answers.
so, i'm posting, again:
building qt4.7 on 10.6.6, xcode 3.2.5, g++-4.2 flag '-mmacosx-version-min=10.4', i'm presuming taking care of dirty work, underneath.
when bring on 10.5, crashes right out of box this:
<... process identification info removed ...> 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
has come resolution on this?
you need specify -sdk /developer/sdks/macosx10.4u.sdk
in configure line when building qt itself. minimum version option trigger pre-processor macros limit apis 10.4 level.
note may stop building 64-bit binaries. not sure.
Comments
Post a Comment