Problem with deploying on windows (ieshims.dll and wer.dll missing)



  • Some info first:
    Qt version 5.0.1
    OS: WinXP SP3

    Hello,
    im totally new to Qt and just made my first small app to learn a bit about Qt.
    Everything works fine when starting the application from Qt Creator but when i try to "deploy" (starting it outside of Qt Creator) i ran into 2 problems:
    I used Depency Walker to check which DLL's i need and copied them to the folder with the executable and got kind of confused that i need Qt5Network.dll since im not using any network stuff. Depency Walker shows that Qt5Multimedia.dll needs it, which i am using.
    But my main problem is that Qt5Core.dll needs "ieshims.dll" and "wer.dll" which arent existing on my system.

    So what did i do wrong?


  • Moderators

    Weird, I've never heard anybody missing those 2 libraries. Even stranger since ieshims is actually an Internet Explorer lib!

    Anyway, take a look at this "thread":http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/8a751f65-ade9-4b8b-a3d3-c720ccbd3d2c/ (first google result, to be honest).



  • Hey, I had the same problems but now all works fine ! Make a directory, say myProgram and copy the following dll's from: C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin: D3DCompiler_43.dll, icudt49.dll, icuin49.dll, icuuc49.dll, libEGL.dll, libgcc_s_dw2-1.dll, libgcc_s_sjlj-1.dll, libGLESv2.dll, libstdc++-6.dll, libwinpthread-1.dll, mingwm10.dll, qminimal.dll, Qt5Core.dll, Qt5Gui.dll, Qt5V8.dll, Qt5Widgets.dll and from C:\Qt\Qt5.0.1\5.0.1\mingw47_32\plugins\platforms\qminimal.dll, qwindows.dll. My program has some 1000 lines, so it may be possible that you dont need all of this libs. BUT IMPORTANT: Do not mix this libs with the libs in the path: C:\Qt\Qt5.0.1\5.0.1\Tools ...., otherwise you get "The program ... terrminated in an unusual..." or with a big, negative exitcode (In the beginning, I was doing so...). Wish you happy deployment walur.



  • hi walur,

    i'm trying to follow your directions, however, some of the files you specify are missing from my Qt5 installation (i use the default Qt5.0.1 MingW bundle from qt-project.org)

    my install is missing

    .../mingw47_43/bin/libgcc_s_dw2-1.dll
    .../mingw47_32/mingwm10.dll

    i am able to run my program (the default output from the qt-creator wizard) on my own computer, but not on a fresh windows 8 install.

    It says:

    "Failed to load platform plugin "windows"."

    and then the "This application has requested the Runtime to terminate it in an unusual way..." error.

    any tips?

    with thanks



  • [quote author="lisabeeren" date="1363797518"]hi walur,

    i'm trying to follow your directions, however, some of the files you specify are missing from my Qt5 installation (i use the default Qt5.0.1 MingW bundle from qt-project.org)

    my install is missing

    .../mingw47_43/bin/libgcc_s_dw2-1.dll
    .../mingw47_32/mingwm10.dll

    [/quote]

    Hum... AFAIK, the default Qt5 installation shouldn't have this: libgcc_s_dw2-1.dll. The "dw2" means the exception handling/stack unwinding is dwarf2-based, while the Qt5 installation I have (from "here":http://qt-project.org/downloads) has a "libgcc_s_sjlj-1.dll", meaning it uses setjump/longjump for exception handling/stack unwinding.

    Do you have any "libgcc_s_sjlj-1.dll" file on your system?

    If you search your system, do you find these files anywhere? Are these files on your PATH?



  • yup, I've got it working now. I didn't need those two files (that walur listed)

    however, how I got it working is pretty baffling. I created a qt.conf file, and stuffing around with that for ages I couldn't get it work. but what does make it work is if that conf file is completely empty. : /

    thanks for your help


Log in to reply
 

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