[Qt-interest] Once again -- OS X, Qt & 'was not compiled with -fobjc-gc or -fobjc-gc-only, but the application requires GC' error?

kent williams nkwmailinglists at gmail.com
Thu Apr 22 16:43:42 CEST 2010


This is really frustrating, as a diligent Google Search on this error
message turns up nothing useful.

The problem:  This Qt application is written for QT4, does nothing
screwy, ESPECIALLY not incorporating Objective C or ObjectiveC garbage
collection, and yet when I try to run it I get this error:

objc[96834]: '/scratch/kent/DTIPrep/DTIPrep-COMPILE/Darwin_i386-DEBUG/DTIPrep/bin/DTIPrep.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui'
was not compiled with -fobjc-gc or -fobjc-gc-only, but the application
requires GC
objc[96834]: '/scratch/kent/DTIPrep/DTIPrep-COMPILE/Darwin_i386-DEBUG/DTIPrep/bin/DTIPrep.app/Contents/MacOS/../Frameworks/QtWebKit.framework/Versions/4/QtWebKit'
was not compiled with -fobjc-gc or -fobjc-gc-only, but the application
requires GC
objc[96834]: *** GC capability of application and some libraries did not match

I have verified that I'm getting the proper Qt frameworks into my App bundle.



More information about the Qt-interest-old mailing list