Fix tests on Qt 5 and fix building tests on Qt 6

  • CMakeLists.txt: re-enable tests and add CTest's BUILD_TESTING option
  • src/, tests/: fix QML tests refering to QML files/modules
  • tests/unittest: make tests build under Qt 6
  • d/rules: run but ignore result of tests on Qt 6

Tests for Qt 6 aren't yet passing, but at least they run. So run them but discard result. This means test results will be in CI build log which we can have a look later. This also prevents tests from rotting and failing to build.

Bug: #601 (closed)

Merge request reports

Loading