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

Opensource 5.15.3 does not compile with Xcode 13 and macos 11.6.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.15.8
    • 5.15.3
    • Build System
    • None
    • macOS

    Description

      The new released open source version of Qt 5.15.3 does not compile on macOS 11.6.4  with Xcode 13.2.1 I got the following errors

       

      // In file included from qiosurfacegraphicsbuffer.mm:40:
      ./qiosurfacegraphicsbuffer.h:54:32: error: unknown type name 'CGColorSpaceRef'; did you mean 'QColorSpace'?
          void setColorSpace(QCFType<CGColorSpaceRef> colorSpace);
                                     ^~~~~~~~~~~~~~~
                                     QColorSpace
      ../../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:2090:1: note: 'QColorSpace' declared here
      QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
      ^
      ../../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:178:24: note: expanded from macro 'QT_FOR_EACH_STATIC_GUI_CLASS'
          F(QColorSpace, 87, QColorSpace) \
                             ^
      qiosurfacegraphicsbuffer.mm:90:32: error: out-of-line definition of 'setColorSpace' does not match any declaration in 'QIOSurfaceGraphicsBuffer'
      void QIOSurfaceGraphicsBuffer::setColorSpace(QCFType<CGColorSpaceRef> colorSpace)
                                     ^~~~~~~~~~~~~
      ./qiosurfacegraphicsbuffer.h:54:24: note: type of 1st parameter of member declaration does not match definition ('QCFType<QColorSpace>' vs 'QCFType<CGColorSpaceRef>')
          void setColorSpace(QCFType<CGColorSpaceRef> colorSpace);
      

       

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            trackvegeta track vegeta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes