Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.3.1
-
None
-
* Windows 7 64 bit
* Qt 5.3.1 VS2013 64 bit
Description
In attempt to load and start the ActiveX server (in form of DLL) there is the following error message:
This application failed to start because it could not find or load the Qt platform plugin "windows".
Available platform plugins are: minimal, windows
Reinstalling the application may fix problem.
All necessary runtime Qt libraries and plug-ins are near with the ActiveX server's dll in deploy dir:
- icudt52.dll
- icuin52.dll
- icuuc52.dll
- libEGL.dll
- libGLESv2.dll
- Qt5Core.dll
- Qt5Gui.dll
- Qt5Network.dll
- Qt5Widgets.dll
- msvcp120.dll
- msvcr120.dll
- platforms/qminimal.dll
- platforms/qwindows.dll
- my_ax_server.dll
If into this (deploy) directory to add the usual GUI application and to start it - that everything works without errors (platform plugins are detected), as on 32-bit OS && 32-bit executable, and as on 64-bit OS && 64-bit executable.
If to rebuild the ActiveX server project with use 32-bit toolchain and to deploy on 32-bit OS (with same set of runtime && platform libraries) - that everything works without errors.
This problem appears only on 64-bit OS with use of 64-bit VS2013 && Qt toolchain.
PS:
Seems, that QPlatformIntegrationFactory::create() returns wrong result (from the qplatformfactory.cpp).
Or
GetModuleFileName(hInstance, qAxModuleFilename, MAX_PATH); // Point QApplication here such that the directory is added to the patch, and qt.conf and // deployed plugins are found. QCoreApplicationPrivate::setApplicationFilePath(QDir::cleanPath(QString::fromWCharArray(qAxModuleFilename)));
from "qaxserverdll.cpp" does not work property.. Or something else.