Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt application failed to load plugin
Forum Updated to NodeBB v4.3 + New Features

Qt application failed to load plugin

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 3.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dimanx
    wrote on last edited by
    #1

    I have Qt application which work with camera and multimedia features. When I copy this application on another PC, which haven't installed Qt SDK,
    @QCamera::availableDevices()@
    return empty string(thi pc have camera and camera work in another applications like skype ).

    I add in to the environment QT_DEBUG_PLUGINS and have such debug log

    bq. Debug: QFactoryLoader::QFactoryLoader() looking at "plugins/mediaservice/dsengined.dll" (plugin\qfactoryloader.cpp:158, void __thiscall QFactoryLoader::update(void))
    Debug: Got keys from plugin meta data ("directshow") (plugin\qfactoryloader.cpp:183, void __thiscall QFactoryLoader::update(void))
    Debug: QFactoryLoader::QFactoryLoader() looking at "plugins/mediaservice/qtmedia_audioengined.dll" (plugin\qfactoryloader.cpp:158, void __thiscall QFactoryLoader::update(void))
    Debug: Got keys from plugin meta data ("audiocapture") (plugin\qfactoryloader.cpp:183, void __thiscall QFactoryLoader::update(void))
    Debug: QFactoryLoader::QFactoryLoader() looking at "plugins/mediaservice/wmfengined.dll" (plugin\qfactoryloader.cpp:158, void __thiscall QFactoryLoader::update(void))
    Debug: Got keys from plugin meta data ("windowsmediafoundation") (plugin\qfactoryloader.cpp:183, void __thiscall QFactoryLoader::update(void))
    Debug: QFactoryLoader::QFactoryLoader() looking at "D:/new folder/mediaservice/dsengined.dll" (plugin\qfactoryloader.cpp:158, void __thiscall QFactoryLoader::update(void))
    Debug: Got keys from plugin meta data ("directshow") (plugin\qfactoryloader.cpp:183, void __thiscall QFactoryLoader::update(void))
    Debug: QFactoryLoader::QFactoryLoader() looking at "D:/new folder/mediaservice/qtmedia_audioengined.dll" (plugin\qfactoryloader.cpp:158, void __thiscall QFactoryLoader::update(void))
    Debug: Got keys from plugin meta data ("audiocapture") (plugin\qfactoryloader.cpp:183, void __thiscall QFactoryLoader::update(void))
    Debug: QFactoryLoader::QFactoryLoader() looking at "D:/new folder/mediaservice/wmfengined.dll" (plugin\qfactoryloader.cpp:158, void __thiscall QFactoryLoader::update(void))
    Debug: Got keys from plugin meta data ("windowsmediafoundation") (plugin\qfactoryloader.cpp:183, void __thiscall QFactoryLoader::update(void))
    Debug: QMediaPluginLoader: loading metadata for iid "org.qt-project.qt.mediaserviceproviderfactory/5.0" at location "/mediaservice" (qmediapluginloader.cpp:110, void __thiscall QMediaPluginLoader::loadMetadata(void))
    Debug: QMediaPluginLoader: Inserted index 0 into metadata: QJsonObject({"Keys": ["directshow"],"Services": ["org.qt-project.qt.camera"],"index": 0}) (qmediapluginloader.cpp:127, void __thiscall QMediaPluginLoader::loadMetadata(void))
    Debug: QMediaPluginLoader: Inserting new list for key: "org.qt-project.qt.camera" (qmediapluginloader.cpp:142, void __thiscall QMediaPluginLoader::loadMetadata(void))
    Debug: QMediaPluginLoader: Inserted index 1 into metadata: QJsonObject({"Keys": ["audiocapture"],"Services": ["org.qt-project.qt.audiosource"],"index": 1}) (qmediapluginloader.cpp:127, void __thiscall QMediaPluginLoader::loadMetadata(void))
    Debug: QMediaPluginLoader: Inserting new list for key: "org.qt-project.qt.audiosource" (qmediapluginloader.cpp:142, void __thiscall QMediaPluginLoader::loadMetadata(void))
    Debug: QMediaPluginLoader: Inserted index 2 into metadata: QJsonObject({"Keys": ["windowsmediafoundation"],"Services": ["org.qt-project.qt.mediaplayer","org.qt-project.qt.audiodecode"],"index": 2}) (qmediapluginloader.cpp:127, void __thiscall QMediaPluginLoader::loadMetadata(void))
    Debug: QMediaPluginLoader: Inserting new list for key: "org.qt-project.qt.mediaplayer" (qmediapluginloader.cpp:142, void __thiscall QMediaPluginLoader::loadMetadata(void))
    Debug: QMediaPluginLoader: Inserting new list for key: "org.qt-project.qt.audiodecode" (qmediapluginloader.cpp:142, void __thiscall QMediaPluginLoader::loadMetadata(void))
    Debug: loaded library "D:/new folder/plugins/mediaservice/dsengined.dll" (plugin\qlibrary.cpp:489, bool __thiscall QLibraryPrivate::load(void))
    Warning: QLibraryPrivate::loadPlugin failed on "D:/new folder/plugins/mediaservice/dsengined.dll" : "Cannot load library D:/new folder/plugins/mediaservice/dsengined.dll: ?? ?????? ????????? ??????." (plugin\qlibrary.cpp:540, bool __thiscall QLibraryPrivate::loadPlugin(void))

    the most important string in this log - about failing load dsengined.dll is write with some encoding problem(I have a windows on russian language).
    How I can set language of this debug messages on English or how I can set correct codepage for viewing this debug message?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dimanx
      wrote on last edited by
      #2

      I fix this problem - add Qt5OpenDld.dll into the application directory.
      QtMultimediaWidgetsd.dll depend from Qt5OpenGld.dll

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved