Platform not recognised by one appl on same machine
-
I've tried to move own 2 apps to an Windows 2008 (not R2) server.
facts:
- both appls work on other machines (2008 R2, 2012)
- both compiled on same machine with same kit: Qt 5.10, commercial license, mingw 5.3, 32bit
- APPL1 works
- APPL2 complains about not finding the "windows" plugin
- no QT_PLUGIN_PATH on the machine
tried:
- unifying DLLs - same issue
- copied APPL2 exe in APPL1 folder - same issue
- APPL1 in folder 2 works
Any advice?
-
@gkavrecic Did you deploy your apps before moving? See https://doc.qt.io/qt-5/windows-deployment.html
-
@gkavrecic
I don't know if there is something special about "the "windows" plugin", but the usual way of diagnosing plugin issue is to set environment variableset QT_DEBUG_PLUGINS=1
and then run your executable to see diagnostic output. However for Windows possibly read through https://forum.qt.io/topic/41943/platform-plugin-windows, I don't know. -
@gkavrecic said in Platform not recognised by one appl on same machine:
@jsulm I did used the windeployqt, but it gave me wrong files - e.g. an outdated libstdc++6.dll
So I copied manually what was working elsewhere.On top of this: the copied DLL was not from the actual bin folder, not even from any QT kit or Windows folders, but from another project (which is contained in the PATH)
edit: libstdc++-6.dll, libgcc_s_dw2-1.dll, libgcc_s_sjlj-1.dll are all taken from PATH and not from actual compiler folder.
I would consider this a bug.Even after copying DLLs from the actual MinGW bin folder the error is still the same