Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51332

[REG: 5.5.1->5.6.0] Reference to NSAutoreleasePool in qglobal.h causing compile error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.6.0 RC, 5.6.0
    • Core: Other
    • OSX 10.11.3, Xcode 7.2.1, Qt 5.6.0-RC.
    • macOS
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            agentsim Tim Murison
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes