Hi guys
I am in trouble for running FET after compile. When I make a release output of project and copy related dlls inside the release folder, FET will run correctly, but when I copy files to another computer it cannot run and throw bellow error.
---------------------------
fet
---------------------------
This application failed to start because it could not find or load the Qt platform plugin "windows".
Reinstalling the application may fix this problem.
---------------------------
OK
---------------------------
How can I solve it?
Thank you.
I compile using MinGW from Qt 5.7.0 (I install it from the Qt installation). Then I remove the temporary and source files and copy some .dll's (in some directories or directly near fet.exe), as you can observe in the official FET for Windows.
Please tell me your compilation environment and what .dll files did you add.
Maybe you did not add the file platforms/qwindows.dll.
I am using MinGW 32bit from QT5.1.1 and inserted below dlls (did not add platforms/qwindows.dll, but just now I create a folder and named it 'platforms' and copy qwindows.dll to it, but it does not work yet!)
dll's name:
icudt51.dll, icuin51.dll, icuuc51.dll, libEGL.dll, libgcc_s_dw2-1.dll, libGLESv2.dll, libstdc++-6.dll, libwinpthread-1.dll, Qt5Core.dll, Qt5Gui.dll, Qt5Network.dll, Qt5PrintSupport.dll, Qt5Widgets.dll.
Thank you for your reply
Isn't it possible for you to update to Qt 5.7.0? It is better.
Qt 5.1.1 indeed needs 3 additional .dll's, the icu ones. That's why the fet archive for Windows is much bigger.
You need to not add libEGL.dll and libGLESv2.dll. I think this is the mistake. Just add printsupport/windowsprintersupport.dll and platforms/qminimal.dll, platforms/qoffscreen.dll and platforms/qwindows.dll (just like official FET).
It worked, Thank you. Also I will upgrade my QT too.
Thank you so much. :)
I'm glad it worked :)
And remember that you no longer need the three icu .dll's from the FET archive compiled with Qt 5.7.0 (I think from Qt 5.6.0 they dropped dependency of the icu .dll's).