[Qt-interest] Qt3 App built on OS X 10.5 with Qt 4.6.2 Cocoa won't run???

kent williams nkwmailinglists at gmail.com
Tue Apr 20 20:30:37 CEST 2010


This is the error message:

./bin/DTIPrep.app/Contents/MacOS/DTIPrep
objc[69433]: '/opt/qt-4.6.2/lib/QtGui.framework/Versions/4/QtGui' was
not compiled with -fobjc-gc or -fobjc-gc-only, but the application
requires GC
objc[69433]: '/opt/qt-4.6.2/lib/QtWebKit.framework/Versions/4/QtWebKit'
was not compiled with -fobjc-gc or -fobjc-gc-only, but the application
requires GC
objc[69433]: *** GC capability of application and some libraries did not match
Illegal instruction

If I build a Carbon-Only Qt, and link to that instead, no problem.

Is there a workaround for this? For a number of reasons, we've
standardized on Qt/Cocoa, the most important reason being that we want
to build 64-bit apps.

It seems like a pretty bullsh*t error message, since there's no
Objective C in our app.



More information about the Qt-interest-old mailing list