Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt static dll x64 using QApplication issues
0x1337 last edited by 0x1337
Since some days i want to build a qt static dll using MSVC x64 build statically, the compilation works the dll is around of 9mb but i have this message: http://prntscr.com/95xigj
It's strange, i never had this message with .exe builds (if i create and build an application she works fine).
That happen only using QWidgets and QApplication in the dll, if i use some libraries like QString of whatever else it works.
Hi and welcome to devnet,
That's because QWidget and QApplication need the corresponding QPA plugin in order to work (i.e. the platform plugin). QString is part of QtCore which doesn't depend on the platform plugin.
The static plugin part of the Plugin How To might be of interest.
Hope it helps
0x1337 last edited by
Yes that helped me, thanks a lot.