[PATCH] WIP: use kirigami plugin instead of embedding in qrc
Thomas Pfeiffer
thomas.pfeiffer at kde.org
Thu May 5 11:54:59 PDT 2016
On Donnerstag, 5. Mai 2016 11:35:38 CEST Dirk Hohndel wrote:
> This has nothing to do with Linux packaging.
> The CMakeLists.txt files simply require certain modules to be present at
> build time. Kirigami requires ECM and KF5Plasma
> KF5Plasma requires KF5Activities
> KF5Activities requires Boost and KF5
>
> That's when I stopped trying to build things, I'm sure the dependency chain
> would go on for quite a while.
>
> And all this started because Marco WANTS to include a C++ plugin with
> Kirigami. So yes, right now it's just QML files, but Marco wants to change
> this.
>
> But I agree with Thomas - this likely is a bug in the Kirigami
> CMakeLists.txt
I just looked into the CMakeLists.txt myself and found that there is a build
option
(NO_PLASMA "Don't use the Plasma library" OFF)
and then later
if(NOT NO_PLASMA)
# treat plasma as an optinal dep: full functionality is expected with only Qt
find_package(KF5Plasma ${KF5_MIN_VERSION})
So passing
-DNO_PLASMA=ON
to cmake should get rid of all these dependencies.
I don't know why Marco introduced this optional dependency and turned the
NO_PLASMA option off by default, but he'll tell us.
Cheers,
Thomas
More information about the subsurface
mailing list