compiler construction - Qt distribute application for windows on qt 5.0.2 -
i have tried distribute application wrote in qt creator without success.
i compiled , dependency walker found dll files required, created folder , copied exe , dll in , works on local computer.
i copied files different computer , each time try execute error message program terminated unexpectantly
i tried compile different programs (examples) , done same copy/paste , ending same error.
i rather not use static linking because of possible licensing issues
i have looked other stack overflow responses , same.. copy dlls folder , should work... can't figure out why error.
even tried on same windows different version (i compiling on windows7 64, tried on win7 32, win xp, , win 8)
edit
this list of dlls adding
04/11/2013 12:20 pm 2,106,216 d3dcompiler_43.dll 04/11/2013 12:20 pm 18,025,758 icudt49.dll 04/11/2013 12:20 pm 3,090,303 icuin49.dll 04/11/2013 12:20 pm 1,808,899 icuuc49.dll 04/11/2013 12:22 pm 99,328 libegl.dll 04/11/2013 12:24 pm 115,200 libgcc_s_sjlj-1.dll 04/11/2013 12:22 pm 968,704 libglesv2.dll 04/11/2013 12:24 pm 895,488 libstdc++-6.dll 04/11/2013 12:24 pm 68,608 libwinpthread-1.dll 04/11/2013 12:25 pm 4,279,808 qt5core.dll 04/11/2013 12:23 pm 3,493,376 qt5gui.dll 04/11/2013 12:23 pm 663,552 qt5multimedia.dll 04/11/2013 12:23 pm 105,472 qt5multimediawidgets.dll 04/11/2013 12:23 pm 1,130,496 qt5network.dll 04/11/2013 12:23 pm 300,032 qt5opengl.dll 04/11/2013 12:23 pm 1,893,376 qt5script.dll 04/11/2013 12:24 pm 5,210,624 qt5widgets.dll
edit
i figured out, missing folder called "platform" , copy in qminimal.dll
, qwindows.dll
i had tried copy file directly app folder, didn't work, guess had have own folder.
this can closed
small addition faced recently. if compiling on windows 7 (vs 2012) x32, should on bootstrap settings in vs. otherwise application not work on below vista , have pretty weird error 'it's not win32 application'. on latest vs2012 service pack ms added xp-type bootstrap.
Comments
Post a Comment