Summary: | framework cmake config should require plasma and/or qt5gui | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Harald Sitter <sitter> |
Component: | general | Assignee: | Vishesh Handa <me> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Harald Sitter
2014-07-25 09:24:20 UTC
I'm not sure what you mean. Here is how the git blame of the CMakeLists.txt looks for me - c11561ad (David Faure 2014-04-26 13:17:54 +0200 32) find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) c11561ad (David Faure 2014-04-26 13:17:54 +0200 33) find_package(KF5CoreAddons ${KF5_DEP_VERSION} REQUIRED) c11561ad (David Faure 2014-04-26 13:17:54 +0200 34) find_package(KF5I18n ${KF5_DEP_VERSION} REQUIRED) c11561ad (David Faure 2014-04-26 13:17:54 +0200 35) find_package(KF5KIO ${KF5_DEP_VERSION} REQUIRED) c11561ad (David Faure 2014-04-26 13:17:54 +0200 36) find_package(KF5Service ${KF5_DEP_VERSION} REQUIRED) c11561ad (David Faure 2014-04-26 13:17:54 +0200 37) find_package(KF5Plasma ${KF5_DEP_VERSION} REQUIRED) c11561ad (David Faure 2014-04-26 13:17:54 +0200 38) find_package(KF5Solid ${KF5_DEP_VERSION} REQUIRED) c11561ad (David Faure 2014-04-26 13:17:54 +0200 39) find_package(KF5ThreadWeaver ${KF5_DEP_VERSION} REQUIRED) Plasma seems to be REQUIRED. Please reopen the bug if you feels something is missing. Ah sorry, very crappy bug description that was. The problem is as follows: If I write a runner plugin and `find_package(KF5Runner)` that will find KF5RunnerConfig.cmake as installed by krunner and that will then internally look for Plasma (as one needs Plasma to build a runner). This lookup for Plasma is however optional and as such will not make the cmake stage fail... -- The following OPTIONAL packages have not been found: * KF5Plasma (required version >= 5.3.0) considering one can not build a runner without plasma, this lookup probably should be required. I'm closing this bug as INVALID. Plasma-framework is a REQUIRED dependency of Krunner framework. However, the way this cmake magic works is that plasma-framework will only be REQUIRED if krunner is also required. So, you'll need to change your code form - find_package(KF5Runner) to find_package(KF5Runner REQUIRED) This is currently the way all the frameworks are configured. If you want this to change, then please bring it up on the frameworks mailing list. I cannot make a special change for only one framework. |