[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 18:55:17 CEST 2010


I built it myself, and here's the config.status:

#!/bin/sh
if [ "$#" -gt 0 ]; then
  /scratch/kent/Qt/qt-everywhere-opensource-src-4.6.2/configure -cocoa
-arch x86 -arch x86_64 -prefix /opt/Qt-4.6.2 -confirm-license "$@"
else
  /scratch/kent/Qt/qt-everywhere-opensource-src-4.6.2/configure -cocoa
-arch x86 -arch x86_64 -prefix /opt/Qt-4.6.2 -confirm-license
fi

On Thu, Apr 22, 2010 at 11:42 AM, Michael Jackson
<mike.jackson at bluequartz.net> wrote:
> 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
>
> _______________________________________________
> 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