Windeployqt error: Unable to find the platform plugin

Viewed 3943

I'm trying to deploy a program I made so I can send the exe to my teacher. At first, I couldn't make the exe work outside of qt. Thanks to an answer I found here, I put the folder plugins/platform and a bunch of dlls in the release folder where my exe is located and now it works. But I don't want to need all those files, I just want the exe so, I open cmd, I go to the plath of windeploqt.exe and type: windeployqt.exe C:\Users\pedro\Documents\build-Ejercicio_07-Desktop_Qt_5_14_0_MinGW_32_bit-Release\Ejercicio_07.exe But I always get the same error:

C:\Qt\Qt5.14.0\5.14.0\mingw73_32\bin>windeployqt.exe C:\Users\pedro\Documents\build-Ejercicio_07-Desktop_Qt_5_14_0_MinGW_32_bit-Release\Ejercicio_07.exe
C:\Users\pedro\Documents\build-Ejercicio_07-Desktop_Qt_5_14_0_MinGW_32_bit-Release\Ejercicio_07.exe 32 bit, release executable
Direct dependencies: Qt5Core Qt5Gui Qt5Widgets
All dependencies   : Qt5Core Qt5Gui Qt5Widgets
To be deployed     : Qt5Core Qt5Gui Qt5Widgets
Unable to find the platform plugin.

C:\Qt\Qt5.14.0\5.14.0\mingw73_32\bin>

How can I get it to work? I've tried lots of answers and none of them worked for me.

0 Answers
Related