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

Building the current Qt5 git master on OSX fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.4.0
    • 5.3.1
    • Multimedia
    • None
    • macOS

    Description

      When building qt5 on OSX using KDE's CI scripts I end up with this error:

      /Users/marko/WC/KDECI-builds/qt5/qtbase/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQMEDIA_QT7_PLAYER -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_KEYWORDS -DQT_PLUGIN -DQT_MULTIMEDIAWIDGETS_LIB -DQT_OPENGL_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4 -I/Users/marko/WC/KDECI-builds/qt5/qtbase/mkspecs/macx-clang -I/Users/marko/WC/KDECI-builds/qt5/qtmultimedia/src/plugins/qt7 -I/opt/local/include -I/Users/marko/WC/KDECI-builds/qt5/qtmultimedia/src/plugins/qt7/mediaplayer -I/Users/marko/WC/KDECI-builds/qt5/qtmultimedia/include/QtMultimediaWidgets/5.3.1 -I/Users/marko/WC/KDECI-builds/qt5/qtmultimedia/include/QtMultimediaWidgets/5.3.1/QtMultimediaWidgets -I/Users/marko/WC/KDECI-builds/qt5/qtmultimedia/include -I/Users/marko/WC/KDECI-builds/qt5/qtmultimedia/include/QtMultimediaWidgets -I/Users/marko/WC/KDECI-builds/qt5/qtmultimedia/include/QtMultimedia/5.3.1 -I/Users/marko/WC/KDECI-builds/qt5/qtmultimedia/include/QtMultimedia/5.3.1/QtMultimedia -I/Users/marko/WC/KDECI-builds/qt5/qtbase/include -I/Users/marko/WC/KDECI-builds/qt5/qtbase/include/QtOpenGL -I/Users/marko/WC/KDECI-builds/qt5/qtmultimedia/include/QtMultimedia -I/Users/marko/WC/KDECI-builds/qt5/qtbase/include/QtWidgets -I/Users/marko/WC/KDECI-builds/qt5/qtbase/include/QtNetwork -I/Users/marko/WC/KDECI-builds/qt5/qtbase/include/QtGui -I/Users/marko/WC/KDECI-builds/qt5/qtbase/include/QtCore -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1/backward -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include mediaplayer/qt7playerservice.h -o .moc/moc_qt7playerservice.cpp
      avfmediaplayersession.mm:325:24: error: cannot initialize a variable of type 'AVPlayerStatus' with an rvalue of type 'NSInteger' (aka 'long')
              AVPlayerStatus status = [[change objectForKey:NSKeyValueChangeNewKey] integerValue];
                             ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            mkae Marko Käning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes