Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0
-
None
-
win7, vs2010, g++-win32
Description
With introduction of QPA every single Qt app has at least one dynamically loaded plugin the one in 'platforms' folder.
This breaks Qt static build (ot compiles, but the application fails with exception).
To make static builds work I hacked qplatformintegrationfactory_qpa.cpp to return QWindowsIntegration instance explicitly,
then link windowsd.lib into final app. Also qRegisterWidgetsVariant() method had to be called explicitly.
An option of configure script similar to qt-sql<driver> should be introduced (e.g. qt-qpa<driver>) to handle this case in a nice way.
Attachments
Issue Links
- replaces
-
QTBUG-26636 Examples do not run for static build of Qt
- Closed