* kitemviews was added in 630269a400.
* kcolorscheme was added in 327d547024 at least
but it goes back a bit further.
* kwidgetsaddons seems to have been used for quite a while too.
Noticed by checking linked libraries.
Signed-off-by: Sam James <sam@gentoo.org>
The pattern that the Q_D macros use, cppcheck does not like. So tell it
to ignore it.
Also, cppcheck seems to have a preference for not using for loops if you
can avoid it; we use for loops quite heavily, so also suppress that.
- Ignore autotests sources
- Teach cppcheck about a okular specific define
- Keep the default options from the KDE setup
This at least for me brings the cppcheck entries from "unusable" to "something that probably should be looked into"
Some of the tests relies on having them there, for example verifying
that certain icons is not null or clicking on a widget that has some
size based upon the icons inside them.
It's desktop unless you're building for Android where the default it's
mobile.
You can still manually specify which UI you want and you'll get that
regardless of the platform
Only require KParts if we're building the desktop UI
Two small changes in CI:
* Stop pretending we have a macOS CI
* Add Android CI
- libkexiv2, khtml and kjs would be nice but we don't have Android builds
yet