The source project of this merge request has been removed.
Allow static link without sources
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.