Deploying on Windows (Qt 5.1)



  • Hi Qt Folks,

    I am trying to deploy a very simple (educational) Qt Application on windows. I copied the following dlls:

    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

    together with my application. On the machine used to develop, everything works just fine. However, in a Windows XP virtual machine (Vmware), I get a "Microsoft Visual C++ Runtime Library" error message (???). Dependency Walker suggests a problem with "_set_invalid_parameter_handler" function in MSVCRT.dll.

    Did anyone come through something similar to this?


  • Moderators

    Did you have a look to the "Qt5 deployment":http://qt-project.org/doc/qt-5.1/qtdoc/deployment-windows.html#creating-the-application-package documentation?
    Probably you missed the platform plugin.
    [quote]
    The Qt Windows platform plugin platforms\qwindows.dll
    [/quote]



  • Thanks for your prompt reply, koahnig. You got the point! There was a missing platform plugin (qwindows.dll). Adding this to the "platform" folder solved the problem.
    Thanks a lot.


  • Moderators

    You are welcome :)

    I was bumping into the very same problem the other week.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.