I downloaded and installed qt-windows-opensource-5.2.0-msvc2012-x86_64-offline.exe on Win7, with VS2012.
After successfully compiled a desktop app, I want to deploy it to a different machine. To test it, I removed “QtDir\bin” from my PATH environment variable. The app starts to complain missing various dlls.
I copied all necessary dlls to the same directory as the app executable, until I saw a strange error message:
This application failed to start because it could not find or load the Qt platform plugin “windows”.
After searching the forum, I have created directory containing platform dlls with path
platforms\qwindows.dll
However, the error still persist unless I add back “QtDir\bin” to PATH.
Could someone help find out what could the possible problems?
Thanks.
↧