benlau / quickios

QML Theme and Component Library for iOS
Apache License 2.0
166 stars 37 forks source link

NSAutoreleasePool is unavailable #4

Closed jacobbloy closed 7 years ago

jacobbloy commented 8 years ago

when building we get an error: /Users/user/Qt5.6.0/5.6/ios/include/QtCore/qglobal.h:594: error: 'NSAutoreleasePool' is unavailable: not available in automatic reference counting mode NSAutoreleasePool *pool; ^

ARC hasn't been used in Xcode for a while and it has no function to turn it off,

we need to use @autoreleasepool or is there a different way to fix this?

benlau commented 7 years ago

That is a bug in Qt 5.6. Should be fixed in Qt 5.6.1 and Qt 5.7.