Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.6.0 RC, 5.6.0
-
OSX 10.11.3, Xcode 7.2.1, Qt 5.6.0-RC.
-
-
17ad6e2
Description
When compiling Objective-C/C++ files, I find I have to include a Qt header (which ultimately ends up at qglobal.h) before including Foundation/Foundation.h, otherwise I get an error referring to a reference to NSAutoreleasePool when ARC is enabled.
I didn't used to have to do this with Qt 5.5.1.
Attachments
For Gerrit Dashboard: QTBUG-51332 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
155706,2 | Fix build when Qt is used in an automatic reference-counted environment | 5.7 | qt/qtbase | Status: ABANDONED | 0 | 0 |
155709,2 | Fix build when Qt is used in an automatic reference-counted environment | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |