Note that there are some explanatory texts on larger screens.

plurals
  1. POQt distribute application for windows on qt 5.0.2
    primarykey
    data
    text
    <p>I have tried to distribute an application that I wrote in Qt creator without success.</p> <p>I compiled and with dependency walker found all the DLL files that are required, I created a folder and copied the exe and the dll in it and everything works on my local computer.</p> <p>I copied all the files into a different computer and each time I try to execute it I get an error message that the program was terminated unexpectantly</p> <p>I tried to compile different programs (examples) and done the same copy/paste and they are all ending with the same error.</p> <p>I rather not to use static linking because of possible licensing issues</p> <p>I have looked into other Stack Overflow responses and they are all the same.. copy the DLLs into the folder and it should work... I just can't figure out why I get the error.</p> <p>Even tried on same windows as well as different version (I am compiling on windows7 64, tried on win7 32, win XP, and win 8)</p> <p><strong>EDIT</strong></p> <p>This is the list of DLLs that I am adding</p> <pre><code>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 </code></pre> <p><strong>EDIT</strong></p> <p>I figured out, I was missing a folder called "platform" and to copy in it <code>qminimal.dll</code> and <code>qwindows.dll</code></p> <p>I had tried to copy those file directly into the app folder, but it didn't work, I guess they had to have their own folder.</p> <p>This can be now closed</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload