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

Doesn't compile with the OS X 10.11 SDK

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • 5.2.0
    • 4.8.7
    • GUI: Painting
    • None
    • OS X 10.11
    • macOS
    • Doesn't compile on OS X 10.11

    Description

      See https://gist.github.com/f73b850d742f9bee21a7

      Error is:

      clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.7 -O2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_USE_BUNDLED_LIBPNG -DPNG_ARM_NEON_OPT=0 -DQT_NO_CUPS -DQT_NO_LPR -DQT_NO_OPENTYPE -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/unsupported/macx-clang-libc++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -Iimage -I../3rdparty/libpng -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I.uic/release-shared -F/private/tmp/qt20150802-82330-1dbd7fd/qt-everywhere-opensource-src-4.8.7/lib -o .obj/release-shared/qpaintengine_mac.o painting/qpaintengine_mac.cpp
      painting/qpaintengine_mac.cpp:345:19: error: use of undeclared identifier 'CMGetProfileByAVID'
          CMError err = CMGetProfileByAVID((CMDisplayIDType)displayID, &displayProfile);
                        ^
      painting/qpaintengine_mac.cpp:348:9: error: use of undeclared identifier 'CMCloseProfile'
              CMCloseProfile(displayProfile);
              ^
      2 errors generated.
      make[2]: *** [.obj/release-shared/qpaintengine_mac.o] Error 1
      make[1]: *** [release] Error 2
      make: *** [sub-gui-make_default-ordered] Error 2
      

      Reported @ https://github.com/Homebrew/homebrew/issues/42370

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            domt4 Dominyk Tiller
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes