Qt static dll x64 using QApplication issues
-
wrote on 23 Nov 2015, 10:16 last edited by 0x1337
Hi,
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.
Thanks.
-
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
-
wrote on 23 Nov 2015, 11:08 last edited by
Hi,
Yes that helped me, thanks a lot.
1/3