Qwindows.dll outside of the folder platform. Possible?

Create a project in qt 5.4, mingw. The teacher is a strict requirement only .exe with .dll, no subfolders. How can I qwindows.dll from the platform to the root folder of the application?
Tried the following options:
QCoreApplication::addLibraryPath("./");
system("SET QT_QPA_PLATFORM_PLUGIN_PATH=%CD%");
However, both do not work
July 12th 19 at 17:25
2 answers
July 12th 19 at 17:27
If he's so harmful — build Qt static, it will be easier and faster)
Oh, I'm afraid to deal with static linking there is no time - jay_OConne commented on July 12th 19 at 17:30
: the problem is that this is not the only needed folder is usually :/ - Telly commented on July 12th 19 at 17:33
: By the way, the installer will ride? Is the only exe that can be sent to the teacher even without lib) - Telly commented on July 12th 19 at 17:36
: Nope :( - jay_OConne commented on July 12th 19 at 17:39
July 12th 19 at 17:29
Tried. Nothing helped. Looks for the file only in the platforms.

Find more questions by tags Qt