Skip to content

Allow static link without sources

Ghost User requested to merge (removed):portable-static-plugin into master

When linking to Kirigami statically, the Kirigami sources are currently required in order to include kirigamiplugin.h. This is a required header for static builds to invoke Q_IMPORT_PLUGIN(KirigamiPlugin) and bootstrap Kirigami.

This set of changes ensures the headers kirigamiplugin.h and KirigamiPlugin get packaged in the include/KF5/Kirigami2 directory, separating the implementation details from users of Kirigami, and making static builds relocatable—independent of the source tree.

Merge request reports