Install Qt Platform Plugin Windows

@jrmmuller said in 'could not find or load the Qt platform plugin 'windows' in ',: If you could help me with the steps. Open cmd and type echo%QTPLUGINPATH% if it's not empty then delete it (just google: delete environmental variable windows #, where # is your windows version) Open cmd and type echo%PATH% and press enter. C: WINDOWS system32ros2 run turtlesim turtlesimnode This application failed to start because it could not find or load the Qt platform plugin 'windows' in '. Reinstalling the application may fix this problem. Qt Platform Plugin Windows Missing Download. @jrmmuller said in 'could not find or load the Qt platform plugin 'windows' in ',: If you could help me with the steps. Open cmd and type echo%QTPLUGINPATH% if it's not empty then delete it (just google: delete environmental variable windows #, where # is your windows version) Open cmd and type echo.

Qt Platform Windows Plugin. The Qt Software Development Kit (SDK) is a cross-platform application framework that is widely used for developing application software with a graphical user interface (GUI). It is a portable cross platform application user interface framework which works on the Windows, Linux and Mac OS X operating systems. If you have multiple versions of VS installed you might need to provide the -platform param for the next configure command (e.g., -platform win32-msvc2012); To save disk space, we use the -prefix switch to install only the required parts of Qt to a new directory of your choice (called qt, e.g.

  • Install Android Studio with SDK and NDK API Level 28.
  • Install strawberry-perl-5.26.2.1-64bit.msi first (before mingw-w64-install.exe) to E:PFiles
  • Install MinGW with mingw-w64-install.exe online installer. Select POSIX threads in the installer UI combobox, otherwise you will get:
  • Extract the sources from QT archive qt-everywhere-src-5.15.0.zip to E:QtQt5.15.0 and run the following script in QT root directory containing configure.bat:

this script uses NDK 21.2.6472646, but Qt Creator 4.12.1 installs NDK 21.1.6352462:

Building QT application

Plugin

On my machine the above script built QT successfully, but when I tried to build my app in QT Creator I got:

Qt Platform Plugin Install Windows Download

and when I started rcc.exe manually I got:

Obviously, it requires MinGW to be in PATH:

So I updated Path environment variable in QT Creator:

and the build succeeded and the application started successfully.

Also a possible solution is to copy MinGW dlls:

to QT binary directory.

Qt Platform Plugin Fix

Testing the app

I tested the app with Android 10 x86 emulators and it seems it is OK, but it is not clear how to test it on ARM because I have ARM images till API 25 only:

Uploading the app to Google Play

When I published the app in Google Play for internal testing it passed the monkey test on all the devices except Android 5.0 armeabi-v7a, see Prelaunch Report:

This crash stably repeated in 3 releases, see below for more information on it:

Windows

The list of the modules we build

Modules we build (see generated Makefile at QT root directory):

Notes

I have an impression that using

instead of

results in unstable behavior of the build script.

The content of qtbasemkspecsandroid-clangqmake.conf:

This Application Failed To Start Because Qt

Links