-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac下有问题,求助 #2
Comments
已更新pyqt到5.5.1 还是出现上述错误 |
你的Qt安装了QtMultimedia这个模块? |
一个是Qt的QtMultimedia, qml的绑定qml-module-qtmultimedia, pyqt5.5.1的python-pyqt5.qtmultimedia三个模块都要安装 |
Qt5的QtMultimedia ~/App/Qt5/5.5/clang_64/lib/QtMultimedia.framework |
我这边没有mac的环境,你可以这样,直接利用pyqt写个简单的demo,就跑qml提供的multimedia例子,看能否跑起来 |
mac下python2.7.10 ptqt 5.5.0
python main.py --运行出现下面的错误,求解答啊
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
file:///Volumes/Home/Work/python/QMusic/src/views/Main.qml:29:5: Type MainWindow unavailable
MainWindow {
^
file:///Volumes/Home/Work/python/QMusic/src/views/MainWindow/MainWindow.qml:5:1: plugin cannot be loaded for module "QtMultimedia": Cannot load library /Volumes/Home/App/Qt5/5.5/clang_64/qml/QtMultimedia/libdeclarative_multimedia.dylib: (dlopen(/Volumes/Home/App/Qt5/5.5/clang_64/qml/QtMultimedia/libdeclarative_multimedia.dylib, 5): Library not loaded: @rpath/QtMultimediaQuick_p.framework/Versions/5/QtMultimediaQuick_p
Referenced from: /Volumes/Home/App/Qt5/5.5/clang_64/qml/QtMultimedia/libdeclarative_multimedia.dylib
Reason: image not found)
import QtMultimedia 5.0
^
QSGContext::initialize: depth buffer support missing, expect rendering errors
QSGContext::initialize: stencil buffer support missing, expect rendering errors
The text was updated successfully, but these errors were encountered: