Error message: Qt platform plugin could not be initialized
After starting CMVM (Create MyVirtual Machine), the HMI status switches to red and the following error message appears: "This Application failed to start beacuse no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: direct2d, minimal, offscreen, windows.
Fig. 1: Error Message
The error occurs because the QTDIR variable is set to an incompatible value. Therefore, "run_hmi.exe" cannot start correctly (the platform plug-in-Dll for Windows cannot be loaded).
In the properties of the "run_hmi.exe" you can control the variable QTDIR:
The QTDIR variable is not necessary for the expiration of a standard Qt application.
Therefore, to fix the error, delete the QTDIR variable from the global Windows variables in the run_hmi.exe:
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry