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

Richard Moe Gustavsen richard.gustavsen at nokia.com
Mon Apr 26 15:42:35 CEST 2010


Have you tried to rebuild your application? Or are you just trying to  
swap the version of Qt it links to?

-Richard

On Apr 22, 2010, at 4:43 PM, ext kent williams wrote:

> 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.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list