PyQt5 + Python3.4 + cx_Freeze 4.3.3 Problem : not include plugins for mediaplayer - PyQt5, Python 3.4
Currently I developing mediaPlayer using QtMultimedia.
but When I tried to package it using cxfreeze, it doesn't sound and could see message like below:
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
so I modified cxfreeze. and I could fix it.
it's easy. add it in hooks.py and build, install, package....
def load_PyQt5_QtMultimedia(finder, module): name, QtCore = _qt_implementation(module) finder.IncludeModule("%s.QtCore" % name) finder.IncludeModule("%s.QtMultimedia" % name) finder.IncludeModule("%s.QtMultimediaWidgets" % name) copy_qt_plugins("mediaservice", finder, QtCore)you should add it cx_Freeze/hooks.py i
댓글
댓글 쓰기