<div dir="ltr">I'll try moving my qt5build folder and rebuilding qt5 tonight and see if that fixes it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 15, 2015 at 7:02 PM, Jeremy Whiting <span dir="ltr"><<a href="mailto:jpwhiting@kde.org" target="_blank">jpwhiting@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey all,<div><br></div><div>I thought I'd look a bit further into debugging why audio isn't working in kanagram which uses QtMultimedia via qml to play a chalk sound for each new word. I added some debug lines to the qml and found that the MediPlayer is getting ServiceMissing error when it's trying to load the media service. I also seem to be somehow getting both the _debug.dylib and the .dylib qt libraries loaded somehow as shown here. any idea why that would be? Did I mistakenly build in non debug mode once (creating the multimedia plugin) then again in debug mode or something when building my qt5build build of qt dev branch with the qsp patch?</div><div><br></div><div>
<p><span>jpmac:~ jeremy$ otool -L /Applications/KDE/kanagram.app/Contents/MacOS/kanagram </span></p>
<p><span>/Applications/KDE/kanagram.app/Contents/MacOS/kanagram:</span></p>
<p><span><span> </span>/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Quick_debug.5.dylib (compatibility version 5.5.0, current version 5.5.0)</span></p>
<p><span><span> </span>/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Core_debug.5.dylib (compatibility version 5.5.0, current version 5.5.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5I18n.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5NewStuff.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5SonnetCore.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5Declarative.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5Crash.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKEduVocDocument.5.dylib (compatibility version 5.0.0, current version 5.0.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5XmlGui.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5Attica.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Qml_debug.5.dylib (compatibility version 5.5.0, current version 5.5.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5ConfigWidgets.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5Codecs.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5ConfigGui.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5Auth.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5WidgetsAddons.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Widgets_debug.5.dylib (compatibility version 5.5.0, current version 5.5.0)</span></p>
<p><span><span> </span>/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Gui_debug.5.dylib (compatibility version 5.5.0, current version 5.5.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5KIOCore.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Network_debug.5.dylib (compatibility version 5.5.0, current version 5.5.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5Service.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5ConfigCore.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/usr/local/lib/libKF5CoreAddons.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p><span><span> </span>/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5DBus_debug.5.dylib (compatibility version 5.5.0, current version 5.5.0)</span></p>
<p><span><span> </span>/Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Xml_debug.5.dylib (compatibility version 5.5.0, current version 5.5.0)</span></p>
<p><span><span> </span>/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)</span></p>
<p><span><span> </span>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)</span></p>
<p><span>jpmac:~ jeremy$ export DYLD_PRINT_LIBRARIES=1</span></p>
<p><span>jpmac:~ jeremy$ /Applications/KDE/kanagram.app/Contents/MacOS/kanagram </span></p>
<p><span>dyld: loaded: /Applications/KDE/kanagram.app/Contents/MacOS/kanagram</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Quick_debug.5.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Core_debug.5.dylib</span></p>
<p><span>dyld: loaded: /usr/local/lib/libKF5I18n.5.dylib</span></p>
<p><span>dyld: loaded: /usr/local/lib/libKF5NewStuff.5.dylib</span></p>
<p><span>dyld: loaded: /usr/local/lib/libKF5SonnetCore.5.dylib</span></p>
<p><span>dyld: loaded: /usr/local/lib/libKF5Declarative.5.dylib</span></p>
<p><span>dyld: loaded: /usr/local/lib/libKF5Crash.5.dylib</span></p>
<p><span>dyld: loaded: /usr/local/lib/libKEduVocDocument.5.dylib</span></p>
<p><span>dyld: loaded: /usr/local/lib/libKF5XmlGui.5.dylib</span></p>
<p><span>dyld: loaded: /usr/local/lib/libKF5Attica.5.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Qml_debug.5.dylib</span></p>
<p><span>dyld: loaded: /usr/local/lib/libKF5ConfigWidgets.5.dylib</span></p>
<p>... Snipped to get through moderation hopefully ...</p><p>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/qml/QtQuick.2/libqtquick2plugin_debug.dylib<br></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/qml/QtQuick/Controls/libqtquickcontrolsplugin_debug.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/qml/QtMultimedia/libdeclarative_multimedia_debug.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5MultimediaQuick_p_debug.5.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Multimedia_debug.5.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/plugins/mediaservice/libqavfmediaplayer.dylib</span></p>
<p><span>dyld: loaded: /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation</span></p>
<p><span>dyld: loaded: /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5MultimediaWidgets.5.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Multimedia.5.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Widgets.5.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Gui.5.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Network.5.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Core.5.dylib</span></p>
<p><span>dyld: loaded: /System/Library/Frameworks/AVFoundation.framework/Versions/A/Resources/libAVFAudio.dylib</span></p>
<p><span>dyld: loaded: /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox</span></p>
<p><span>dyld: loaded: /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox</span></p>
<p><span>dyld: loaded: /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/MediaControlSender</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/CoreAVCHD.framework/Versions/A/CoreAVCHD</span></p>
<p><span>dyld: loaded: /System/Library/Frameworks/MediaAccessibility.framework/Versions/A/MediaAccessibility</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/Mangrove.framework/Versions/A/Mangrove</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/NetworkStatistics.framework/Versions/A/NetworkStatistics</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/AirPlaySupport.framework/Versions/A/AirPlaySupport</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/XPCService.framework/Versions/A/XPCService</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/AppSandbox.framework/Versions/A/AppSandbox</span></p>
<p><span>dyld: loaded: /usr/lib/libsandbox.1.dylib</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/AppContainer.framework/Versions/A/AppContainer</span></p>
<p><span>dyld: loaded: /System/Library/PrivateFrameworks/SecCodeWrapper.framework/Versions/A/SecCodeWrapper</span></p>
<p><span>dyld: loaded: /usr/lib/libMatch.1.dylib</span></p>
<p><span>dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5OpenGL.5.dylib</span></p>
<p><span>dyld: loaded: /opt/local/lib/libicui18n.54.dylib</span></p>
<p><span>dyld: loaded: /opt/local/lib/libicuuc.54.dylib</span></p>
<p><span>dyld: loaded: /opt/local/lib/libicudata.54.dylib</span></p>
<p><span>dyld: loaded: /opt/local/lib/libpcre16.0.dylib</span></p>
<p><span>objc[33021]: Class NotificationReceiver is implemented in both /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Widgets_debug.5.dylib and /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Widgets.5.dylib. One of the two will be used. Which one is undefined.</span></p>
<p><span>QObject::moveToThread: Current thread (0x7f82c9c1e730) is not the object's thread (0x7f82c9d87bf0).</span></p>
<p><span>Cannot move to target thread (0x7f82c9c1e730)</span></p>
<p><span></span><br></p></div></div>
</blockquote></div><br></div>