Use forward declaration here

2 jobs for master in 5 minutes and 58 seconds (queued for 10 minutes and 51 seconds)
Status Name Job ID Coverage
  Build
passed build_clazy_clang_tidy #104005

00:03:29

passed linux kf5-qt5 qt5.15 #104004

00:02:28

73.0%