I’ve written an app with Qt 5.1.(my first c++ app) It runs fine on the machine with Qt installed, but when I attempt to deploy the executable to another windows machine where Qt is not installed, I get an error box that says- “Microsoft Visual C++ Runtime Library” – Runtime Error, This app has requested the Runtime to terminate it in an unusual way….
I’ve spent some time researching and reading docs but cannot figure it out. Qt is installed with mingw.
When I profile the app with dependancy walker, msvcrt.dll shows up red and appears to give an error with a _get_output_format functions. The log at the bottom also shows 2 getprocaddress errors associated with msvcrt.dll, specified procedure cannot be found associated with the .exe I’m running and again with the icuuc51.dll. The icuuc51.dll line is specific to the _get_output_format function.
Just below those 2 red errors in the log it also says “Failed to load platform plugin “windows”. Available platforms are:, then a blank line. I have a “plugins” folder that currently contains the qwindows.dll file from Qt 51. I’m not aware of any other plugins I’m using for the app, but I could be wrong.
The folder where I have the .exe contains all the .dll’s that came up as err’s when i first started plus any I’ve found while researching, here’s a list
Qt5widgets
Qt5Gui
Qt5Core
qminimal
msvcrt
msvcr100
msvcp100
msjava
mpr
libwinpthread-1
libstdc++-6
libglesv2
libgcc_s_dw2-1
libegl
icuuc51
icuin51
icudt51
d3dcompiler
Any help would be appreciated. Thanks.
↧