Opened 10 years ago
Closed 10 years ago
#45298 closed defect (fixed)
qt5-mac: Build fails on Yosemite
Reported by: | mf2k (Frank Schima) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | michaelld (Michael Dickens), mkae (Marko Käning), yorirou+macports@…, maehne (Torsten Maehne), comander@…, maxime.duluc@…, haven04@…, aduvenhage@… | |
Port: | qt5-mac |
Description
qt5-mac does not build yet on Yosemite. This is important because qt4-mac also does not build on Yosemite.
:info:build /usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DHEADER_OPENAL_PREFIX -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.1/qtbase/mkspecs/macx-clang -I. -I../../multimedia/audio -I../../../lib/QtMultimedia.framework/Versions/5/Headers -I../../../lib/QtMultimedia.framework/Versions/5/Headers/5.3.1 -I../../../lib/QtMultimedia.framework/Versions/5/Headers/5.3.1/QtMultimedia -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.1/qtdeclarative/lib/QtQuick.framework/Versions/5/Headers -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.1/qtdeclarative/lib/QtQml.framework/Versions/5/Headers -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.1/qtbase/lib/QtNetwork.framework/Versions/5/Headers -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.1/qtbase/lib/QtGui.framework/Versions/5/Headers -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.1/qtbase/lib/QtCore.framework/Versions/5/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AGL.framework/Headers -F/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.1/qtmultimedia/lib -F/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.1/qtdeclarative/lib -F/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.1/qtbase/lib -o .obj/qdeclarative_playvariation_p.o qdeclarative_playvariation_p.cpp :info:build avfmediaplayersession.mm:325:24: error: cannot initialize a variable of type 'AVPlayerStatus' with an rvalue of type 'NSInteger' (aka 'long') :info:build AVPlayerStatus status = [[change objectForKey:NSKeyValueChangeNewKey] integerValue]; :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build 1 error generated.
Attachments (1)
Change History (13)
Changed 10 years ago by mf2k (Frank Schima)
Attachment: | main.log.zip added |
---|
comment:1 Changed 10 years ago by mkae (Marko Käning)
Cc: | mk@… added |
---|
comment:2 Changed 10 years ago by cosmo@…
changing the code to:
NSInteger val = [[change objectForKey:NSKeyValueChangeNewKey] integerValue]; AVPlayerStatus status = (AVPlayerStatus)val;
seems to work
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
comment:4 Changed 10 years ago by michaelld (Michael Dickens)
qt4-mac builds on Yosemite as of today.
comment:7 Changed 10 years ago by comander@…
comment:12 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | new → closed |
For completeness, the upstream bug report is https://bugreports.qt-project.org/browse/QTBUG-41136.
Should be fixed in r127528.
Note: See
TracTickets for help on using
tickets.
Cc Me!