<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 class=""><span class="">jpmac:~ jeremy$ otool -L /Applications/KDE/kanagram.app/Contents/MacOS/kanagram </span></p>
<p class=""><span class="">/Applications/KDE/kanagram.app/Contents/MacOS/kanagram:</span></p>
<p class=""><span class=""><span class="">      </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 class=""><span class=""><span class="">      </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 class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5I18n.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5NewStuff.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5SonnetCore.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5Declarative.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5Crash.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKEduVocDocument.5.dylib (compatibility version 5.0.0, current version 5.0.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5XmlGui.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5Attica.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </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 class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5ConfigWidgets.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5Codecs.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5ConfigGui.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5Auth.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5WidgetsAddons.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </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 class=""><span class=""><span class="">      </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 class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5KIOCore.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </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 class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5Service.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5ConfigCore.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/local/lib/libKF5CoreAddons.5.dylib (compatibility version 5.0.0, current version 5.7.0)</span></p>
<p class=""><span class=""><span class="">      </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 class=""><span class=""><span class="">      </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 class=""><span class=""><span class="">      </span>/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)</span></p>
<p class=""><span class=""><span class="">      </span>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)</span></p>
<p class=""><span class="">jpmac:~ jeremy$ export DYLD_PRINT_LIBRARIES=1</span></p>
<p class=""><span class="">jpmac:~ jeremy$ /Applications/KDE/kanagram.app/Contents/MacOS/kanagram </span></p>
<p class=""><span class="">dyld: loaded: /Applications/KDE/kanagram.app/Contents/MacOS/kanagram</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Quick_debug.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Core_debug.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /usr/local/lib/libKF5I18n.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /usr/local/lib/libKF5NewStuff.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /usr/local/lib/libKF5SonnetCore.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /usr/local/lib/libKF5Declarative.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /usr/local/lib/libKF5Crash.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /usr/local/lib/libKEduVocDocument.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /usr/local/lib/libKF5XmlGui.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /usr/local/lib/libKF5Attica.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Qml_debug.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /usr/local/lib/libKF5ConfigWidgets.5.dylib</span></p>
<p class="">... Snipped to get through moderation hopefully ...</p><p class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/qml/QtQuick.2/libqtquick2plugin_debug.dylib<br></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/qml/QtQuick/Controls/libqtquickcontrolsplugin_debug.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/qml/QtMultimedia/libdeclarative_multimedia_debug.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5MultimediaQuick_p_debug.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Multimedia_debug.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/plugins/mediaservice/libqavfmediaplayer.dylib</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5MultimediaWidgets.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Multimedia.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Widgets.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Gui.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Network.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5Core.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/Frameworks/AVFoundation.framework/Versions/A/Resources/libAVFAudio.dylib</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/MediaControlSender</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/CoreAVCHD.framework/Versions/A/CoreAVCHD</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/Frameworks/MediaAccessibility.framework/Versions/A/MediaAccessibility</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/Mangrove.framework/Versions/A/Mangrove</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/NetworkStatistics.framework/Versions/A/NetworkStatistics</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/AirPlaySupport.framework/Versions/A/AirPlaySupport</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/XPCService.framework/Versions/A/XPCService</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/AppSandbox.framework/Versions/A/AppSandbox</span></p>
<p class=""><span class="">dyld: loaded: /usr/lib/libsandbox.1.dylib</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/AppContainer.framework/Versions/A/AppContainer</span></p>
<p class=""><span class="">dyld: loaded: /System/Library/PrivateFrameworks/SecCodeWrapper.framework/Versions/A/SecCodeWrapper</span></p>
<p class=""><span class="">dyld: loaded: /usr/lib/libMatch.1.dylib</span></p>
<p class=""><span class="">dyld: loaded: /Users/jeremy/devel/kde/src/qt5build/qtbase/lib/libQt5OpenGL.5.dylib</span></p>
<p class=""><span class="">dyld: loaded: /opt/local/lib/libicui18n.54.dylib</span></p>
<p class=""><span class="">dyld: loaded: /opt/local/lib/libicuuc.54.dylib</span></p>
<p class=""><span class="">dyld: loaded: /opt/local/lib/libicudata.54.dylib</span></p>
<p class=""><span class="">dyld: loaded: /opt/local/lib/libpcre16.0.dylib</span></p>
<p class=""><span class="">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 class=""><span class="">QObject::moveToThread: Current thread (0x7f82c9c1e730) is not the object's thread (0x7f82c9d87bf0).</span></p>
<p class=""><span class="">Cannot move to target thread (0x7f82c9c1e730)</span></p>
<p class=""><span class=""></span><br></p></div></div>