The mobile version of Okular is built unconditionally, even on desktop systems. While its impact is arguably smaller, it would make sense to have a build switch (even default to ON) to enable/disable building.
https://phabricator.kde.org/D12352
Git commit 1fb77446a7378368de5288ca9f57627ae2946d84 by Aleix Pol. Committed on 22/04/2018 at 20:23. Pushed by apol into branch 'master'. Make it possible to disable the build of okularkirigami Summary: Some distros seem to have the option. Test Plan: Still builds, can disable build Reviewers: #okular, mart, aacid, lbeltrame Tags: #okular Differential Revision: https://phabricator.kde.org/D12352 M +4 -1 CMakeLists.txt M +28 -7 mobile/app/package/contents/ui/Documents.qml https://commits.kde.org/okular/1fb77446a7378368de5288ca9f57627ae2946d84
Wouldn't it make sense to use this switch to disable the build when using a Qt version that's not recent enough for all the required QML stuff? cf. https://bugs.kde.org/show_bug.cgi?id=415012