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

[SOLVED] Deployement of a Qt5 Apps on Windows7 _fail_



  • Hello,
    I try to deploy a simple gui make with Qt5.01 Mingw and it did'nt run, something about Visual C++ Runtime library appear on a popup !

    In the release folder i put a lot of DLL from bin and also plugin\plateforms: qminimal and qwindows.
    So i don't get message about missing dll, just the Runtime library one.

    How could i fix it ?


  • Moderators

    Install VC++ redist package.



  • Hi there,

    Your structure should be:

    @
    YOURAPP
    platforms\qwindows.dll
    other.dll
    @

    In other words, it shouldn't be:

    @
    YOURAPP
    plugin\platforms\qwindows.dll
    other.dll
    @

    Hope that helps :)



  • Oh, thanks to your quickly reply !
    You mean that i have to build a structure in the release folder, ok i try it !

    YOU'RE A CHIEF ! THAT WORKS !

    what a hell... I don't believe it !

    YES, that was just a structure folder misunderstood !

    So, i give what the working folder contains, may be could help other one in this case:


    YOURAPP
    D3DCompiler_43.dll
    icudt49.dll
    icuin49.dll
    icuuc49.dll
    libEGL.dll
    libgcc_s_sjlj-1.dll
    libGLESv2.dll
    libstdc++-6.dll
    libwinpthread-1.dll
    Qt5Core.dll
    Qt5Gui.dll
    Qt5Widgets.dll

    /platforms
    qwindows.dll


    This works for a simple GUI app.

    Thank you very much !



  • No problem, glad I could help! :)



  • Hi :-)
    funny thing: i posted a similar questions at the same time, but this wasn't solved by these steps.

    http://qt-project.org/forums/viewthread/27061/

    any further suggestions?



  • In addition to the above list of dll's, you probably will also need: libEGL.dll



  • YES, that's true, i forgot this one: libEGL.dll

    So, i make the correction above...


Log in to reply