[Qt4-preview-feedback] ./configure -cocoa does not work when passed as last argument.
Trenton Schulz
trenton.schulz at nokia.com
Mon Feb 9 10:14:24 CET 2009
On 2009-02-08 10:31:45 +0100, Axel Jäger <axel.jaeger at basyskom.de> said:
> Hi,
> I tried to do a cocoa-build of Qt on my mac using the following commandline:
> ./configure -no-exceptions -no-xmlpatterns -no-qt3support -optimize
> d-qmake -cocoa -confirm-license
>
> Although the configure system says:
>
> Using framework: Cocoa
>
> my Designer links to carbon instead of cocoa:
>
> surface:MacOS axeljager$ otool -L Designer
> Designer:
> /usr/local/Trolltech/Qt-4.5.0-rc1/lib/QtDesignerComponents.framework/
> Versions/4/QtDesignerComponents (compatibility version 4.5.0, current
> version 4.5.0)
> /usr/local/Trolltech/Qt-4.5.0-rc1/lib/QtDesigner.framework/Versions/4/
> QtDesigner (compatibility version 4.5.0, current version 4.5.0)
> /usr/local/Trolltech/Qt-4.5.0-rc1/lib/QtScript.framework/Versions/4/
> QtScript (compatibility version 4.5.0, current version 4.5.0)
> /usr/local/Trolltech/Qt-4.5.0-rc1/lib/QtXml.framework/Versions/4/
> QtXml (compatibility version 4.5.0, current version 4.5.0)
> /usr/local/Trolltech/Qt-4.5.0-rc1/lib/QtGui.framework/Versions/4/
> QtGui (compatibility version 4.5.0, current version 4.5.0)
> /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.43.0)
> /usr/local/lib/libpng12.0.dylib (compatibility version 25.0.0,
> current version 25.0.0)
> /usr/local/Trolltech/Qt-4.5.0-rc1/lib/QtNetwork.framework/Versions/4/
> QtNetwork (compatibility version 4.5.0, current version 4.5.0)
> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/
> SystemConfiguration (compatibility version 1.0.0, current version
> 212.2.0)
> /usr/local/Trolltech/Qt-4.5.0-rc1/lib/QtCore.framework/Versions/4/
> QtCore (compatibility version 4.5.0, current version 4.5.0)
> /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.3)
> /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)
> surface:MacOS axeljager$
Qt links to both Carbon and Cocoa, because, despite what marketting may
tell you, the Carbon framework contains functions that we need, even
when using Cocoa ;-). We only link to AppKit at the moment, because it
contains all the symbols that we need.
Trust me, if you passed -cocoa on the command line, you have a Cocoa
build of Qt :-)
-- Trenton
More information about the Qt4-feedback
mailing list