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

Michael Jackson mike.jackson at bluequartz.net
Thu Apr 22 18:42:21 CEST 2010


On 4/22/10 10:43 AM, in article
t2v44f773f51004220743m9a0a9c84jc34e1794896a6c73 at mail.gmail.com, "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.a
> pp/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.a
> pp/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.


Did you compile Qt your self or are you using a pre-compiled version from
Nokia?

Mike Jackson




More information about the Qt-interest-old mailing list