B
B
Berloga2016-04-27 14:08:07
Qt
Berloga, 2016-04-27 14:08:07

Qwindows.dll outside the platform folder. Maybe?

I am creating a project on qt 5.4, mingw. The teacher has a strict requirement - only .exe with .dll, no subfolders. How can I move qwindows.dll from platform to the root folder of the application?
The following options have been tried:
QCoreApplication::addLibraryPath("./");
system("SET QT_QPA_PLATFORM_PLUGIN_PATH=%CD%");
However, both fail.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jacob E, 2016-04-27
@Zifix

Well, if it is so harmful, build Qt with statics, it will be easier and faster)

V
Vitaly Yakubenko, 2016-04-28
@Sindorian

Was trying. Nothing helped. Looks for a file only in platforms.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question