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

Building Qt 4.8.6 on OS X 10.10 ends with compilation error (patch included)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 4.8.6
    • Fix Version/s: 4.8.7
    • Component/s: Build System
    • Labels:
      None
    • Environment:
    • Platform/s:
      macOS
    • Commits:
      997d626173d9aba5b01b35e4d95ad162771ba789

      Description

      Building Qt 4.8.6 on OS X 10.10 ends with compilation error.
      This affects installation of Qt via the homebrew: https://github.com/Homebrew/homebrew/issues/29837

      Root cause: NSApplication was updated to have delegate as a true property, not a getter/setter pair which implicitly behaves as a property. Because of this and because NSApp is of type 'id' not NSApplication*, the only definition of setDelegate: method visible to the compiler was from the NSFileManager. That is why it was complaining about incompatible types. Replacing the NSApp variable on [NSApplication sharedApplication] fixes the problem, because it returns a typed NSApplication* instance of shared NSApplication.

        Attachments

        For Gerrit Dashboard: QTBUG-39644
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Reporter:
            anton.matosov Anton Matosov
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes