Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0, 6.1, 6.2
-
None
-
-
5cc3105807a7f1868b067e5d9757acab0a2bb8e8 (qt/qtbase/dev)
Description
For the gcc compiler family order of the static libraries is critical in case of a partial archive linking. If an object file uses symbols of the static library it either should be placed before the library in the linker command line or wrapped with the --start/end-group options.
This paradigm should be implemented in the generated .prl files.
Currently, this may cause the 'undefined reference' issue to the QtCore symbols when linking to a static plugin that uses qt resources.