Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
5.11
-
None
-
win7 x64
Description
I use the static library of QT5.11.1,But get the hint:defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
I add “QTPLUGIN += dsengine ” to .pro, and add "Q_IMPORT_PLUGIN(dsengine)" to main.cpp.
But compile error:
main.obj:-1: error: LNK2001: 无法解析的外部符号 "struct QStaticPlugin const __cdecl qt_static_plugin_dsengine(void)" (?qt_static_plugin_dsengine@@YA?BUQStaticPlugin@@XZ)
there two lib in path E:\Qt5.11.2\Qt-msvc2015-x64-static\plugins\mediaservice:
dsengine.lib and qtmedia_audioengine.lib。
how should I use static libraries to develop video and audio programs ?