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

Application does not see related .dlls



  • Hey fellow programmers

    Today I've encountered something weird:
    https://imgur.com/a/aBuQVWq
    This message means that MechDesigner.exe cannot find Qt5Core.dll. But how it is possible, as the file is near to the .exe??? (Ah, and I don't mess with QCoreApplication::libraryPaths) All related Qt stuff (gui, widgets) is also there, as you mates can see.
    In \plugins there are \platforms\qwindows.dll , and \styles\qwindowsvistastyle.dll
    I have no clue what's wrong with this installation :/ Could you help?

    Btw, target OS is Windows 10, the app was built on Windows 7.



  • Thanks for the hint, that windeployqt looks very promising.
    And the issue is solved, the person I gave the application tried to run it from inside of archive <facepalm>


  • Lifetime Qt Champion

    Hi,

    Might be a silly question but are you sure you copied the right .dlls. From the looks of it, there's a chance you are using MinGW, so are these libs from the MinGW build of Qt ?

    To simplify your life, you should use windeployqt, it will gather your application dependencies and related plugins.



  • Thanks for the hint, that windeployqt looks very promising.
    And the issue is solved, the person I gave the application tried to run it from inside of archive <facepalm>


Log in to reply