Bug 456305 - kcm region_language fails to configure on Ubuntu if packagekitqt5 is missing
Summary: kcm region_language fails to configure on Ubuntu if packagekitqt5 is missing
Status: RESOLVED INTENTIONAL
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_regionandlang (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-04 07:14 UTC by Kai Uwe Broulik
Modified: 2022-07-06 05:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2022-07-04 07:14:59 UTC
SUMMARY
The region_language KCM fails to CMake configure if pakagekitq5 is missing

STEPS TO REPRODUCE
1. Build on Ubuntu, dont have packagekitqt5-dev installed

OBSERVED RESULT
Fails to configure because TARGET PK::packagekitqt5 was not found

EXPECTED RESULT
It checks whether the target is found because the find_package dependency on it is optional

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: git master as of 2022-07-04
Qt Version: 5.15.5
Comment 1 hanyoung 2022-07-06 05:08:01 UTC
The packagekit dependency is required on Ubuntu based system by default. If you don't want it, add UBUNTU_PACKAGEKIT=OFF option to cmake