Missing find_package calls in CMakeLists.txt
Hi and thank you for developing Plasma Dialer!
IMHO at least one find_package
call is missing , please check build output
CMake Error at plasma-dialer/src/CMakeLists.txt:52 (target_link_libraries):
Target "plasmaphonedialer" links to:
Qt::WaylandClientPrivate
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
I expect all the other package maintainers to have already spotted this and fixed accordingly, but my point is that if a package is needed as a Build-Dep, its dependency should be made evident with a find_package
line.
Edit: same for the package providing qpa/qplatformnativeinterface.h
, that is qtbase5-private-dev
in Debian-based systems.
/builds/tiol/plasma-dialer/debian/output/source_dir/plasma-dialer/src/main.cpp:29:10: fatal error: qpa/qplatformnativeinterface.h: No such file or directory
29 | #include <qpa/qplatformnativeinterface.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Edited by Marco Mattiolo