Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Plugin dependencies?



  • How can I check reliably what plugins my program depends on?

    It seems that even the aboutQt dialog requires several plugins:

    bq.
    ModLoad: 01f90000 01f9b000 C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\plugins\imageformats\qico4.dll
    ModLoad: 02030000 02063000 C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\plugins\imageformats\qjpeg4.dll
    ModLoad: 02b40000 02b7a000 C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\plugins\imageformats\qmng4.dll
    ModLoad: 021d0000 021d9000 C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\plugins\imageformats\qsvg4.dll
    ModLoad: 66000000 66047000 C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\bin\QtSvg4.dll
    ModLoad: 61000000 61056000 C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\bin\QtXml4.dll
    ModLoad: 02ba0000 02be8000 C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\plugins\imageformats\qtiff4.dll



  • There's no reliable way to tell.
    Plugins are only loaded when needed, and, in case of the image formats, it can be that all image format plugins available in a certain directory are loaded in order to get a list of the supported formats.



  • With a Qt plugin for PostgreSql I had a issue with dependencies. I used a Dependency Walker to check what I should deploy with app.



  • [quote author="Hostel" date="1325187578"]With a Qt plugin for PostgreSql I had a issue with dependencies. I used a Dependency Walker to check what I should deploy with app.[/quote]

    Does Dependency Walker detect LoadLibrary dependencies?



  • [quote author="muhahaa" date="1326301566"]
    Does Dependency Walker detect LoadLibrary dependencies?[/quote]

    No. It cannot know which plugins will be loaded.



  • This program will show you modules loaded at runtime for any running Windows program:

    "http://www.codeproject.com/Articles/301/Display-Loaded-Modules-v1-5":http://www.codeproject.com/Articles/301/Display-Loaded-Modules-v1-5


Log in to reply