[Development] Standard options & deploying on Mac OS X 10.6 while building on 10.7

Ziller Eike Eike.Ziller at digia.com
Thu Jun 6 20:54:10 CEST 2013

> From: development-bounces+eike.ziller=digia.com at qt-project.org [development-bounces+eike.ziller=digia.com at qt-project.org] on behalf of Vincent [vincentb1981 at gmail.com]
> Sent: 06 June 2013 18:20
> To: development at qt-project.org
> Subject: [Development] Standard options & deploying on Mac OS X 10.6 while building on 10.7
> Hello,
> I would like to be able to deploy Qt applications on Mac OS X 10.6. The development environment is on 10.7.
> I tried with Qt 5.0.2 and Qt 5.1.0 Beta 1 (downloaded binaries from qt-project.org) and none of the compiled applications run on Mac OS X 10.6.
> Then I tried to compile Qt 5.1.0 Beta 1 on 10.7, with the following configure options:
>    ./configure -prefix $PWD/qtbase -opensource -debug-and-release -nomake examples -nomake demos
> Still, applications don't run on 10.6. Note that I've then compiled Qt against 10.8 sdk.
> After discussing with Tor it seems that I need to provide to ./configure the no-c+11 option.
> I would like to be sure that the Qt build I'll be compiling is as close as possible as the standard Qt available through binary download at qt-project.org.
> What is the full set of options for the configure script used by Qt Team in order release binaries?
> Thanks,
> Cosmo
> Note: here are the runtime errors on 10.6:
> * Output of running on 10.6 an app built against Qt 5.0.2:
> dyld: Symbol not found: _kCFWebServicesProviderDefaultDisplayNameKey
>   Referenced from: /Users/<snip>/Desktop/myapp/myapp.app/Contents/MacOS/../Frameworks/QtWebKit.framework/Versions/5/QtWebKit
>   Expected in: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
>  in /Users/<snip>/Desktop/myapp/myapp.app/Contents/MacOS/../Frameworks/QtWebKit.framework/Versions/5/QtWebKit
> Trace/BPT trap

This is the weird way of QtWebKit to tell you that you need to build Qt directly against a Mac 10.6 SDK if you want to
deploy Qt applications that use webkit on Mac OS X 10.6...

> * And running on 10.6 an app built against 5.1.0 Beta 1 (Qt was compiled on Mac OS X 10.7 with ./configure -prefix $PWD/qtbase -opensource -debug-and-release -nomake examples -nomake demos):
> dyld: Library not loaded: /usr/lib/libc++.1.dylib
>   Referenced from: /Users/<snip>/Desktop/myapp/myapp.app/Contents/MacOS/../Frameworks/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets
>   Reason: image not found
> Trace/BPT trap

Eike Ziller
Senior Software Engineer

Digia Germany GmbH
Rudower Chaussee 13, D-12489 Berlin
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B,
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130606/cb7554a2/attachment.html>

More information about the Development mailing list