SUMMARY Cantor now requires Qt WebEngine to build. We cannot offer Qt WebEngine on Adélie Linux because it is not compatible with most of our CPU architectures (PowerPC, 32-bit x86/ARM) and because it is not compatible with our libc (musl libc). There are other issues but these are the biggest ones. It seems like the only use of WebEngine is for the documentation panel. While it is obviously not ideal to remove this, it seems better to make this optional (along with WebEngine) than to drop Cantor from our distro entirely. I'll be writing a patch to do just that in the meantime, and if this is something that you would be willing to add upstream, you can feel free to merge it. STEPS TO REPRODUCE 1. Try to build Cantor on a system that does not support Qt WebEngine. OBSERVED RESULT CMake Error at /usr/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5WebEngine" with any of the following names: Qt5WebEngineConfig.cmake qt5webengine-config.cmake EXPECTED RESULT Successful build. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux gwyn.foxkit.us 5.15.28-mc1-easy #1 SMP Sat Apr 30 09:14:06 UTC 2022 ppc64 GNU/Linux KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.4 + KDE patches ADDITIONAL INFORMATION n/a
you're right. It's used for the documentation panel only. Feel free to submit a patch for this and I'll review it. It makes sense to make this optional, yes. Something like ENABLE_EMBEDDED_DOCUMENTATION option for cmake similar to https://invent.kde.org/education/labplot/-/blob/master/CMakeLists.txt#L221 would be an idea here.
A possibly relevant merge request was started @ https://invent.kde.org/education/cantor/-/merge_requests/77