Adapt for building with qt6

2 jobs for master in 10 minutes and 2 seconds (queued for 55 minutes and 48 seconds)
Status Job ID Name Coverage
  Build
failed #89714
build_clazy_clang_tidy

00:04:54

passed #89713
linux kf5-qt5 qt5.15

00:05:08

0.0%
 
Name Stage Failure
failed
build_clazy_clang_tidy Build
make[2]: *** [src/libimportwizard/CMakeFiles/KPimImportWizard.dir/build.make:121: src/libimportwizard/CMakeFiles/KPimImportWizard.dir/abstractaddressbook.cpp.o] Error 254
make[1]: *** [CMakeFiles/Makefile2:524: src/libimportwizard/CMakeFiles/KPimImportWizard.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
Uploading artifacts for failed job
Uploading artifacts...
WARNING: JUnitTestResults.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1