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

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.8.7
    • 4.8.6
    • Build System
    • None
    • macOS
    • 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

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

        Activity

          People

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            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