https://bugs.kde.org/show_bug.cgi?id=426653

            Bug ID: 426653
           Summary: Static builds require kirigamiplugin.h in the
                    installed "include" dir
           Product: frameworks-kirigami
           Version: Master
          Platform: Compiled Sources
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: mt...@outlook.com
  Target Milestone: Not decided

SUMMARY
Kirigami static-plugin loading currently requires access to kirigamiplugin.h
(to invoke the KirigamiPlugin::registerTypes() function) but it is not added to
the "include" dir when building the "install" target.

STEPS TO REPRODUCE
1. Build Kirigami as a static library specifying an install prefix
2. Build the "install" target to install into a given dir

OBSERVED RESULT
There is no kirigamiplugin.h to call KirigamiPlugin::registerTypes().

EXPECTED RESULT
Since apps which statically link to Kirigami need access to
KirigamiPlugin::registerTypes() in order to load the plugin, this should be
provided in the include/KF5/Kirigami2 directory. Otherwise apps can not be
statically linked unless having both sources AND installed Kirigami.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.74.0
Qt Version: All

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to