Use forward declaration here

2 jobs for master in 3 minutes and 59 seconds (queued for 22 minutes and 5 seconds)
Status Name Job ID Coverage
  Build
passed build_clazy_clang_tidy #104013

00:02:05

passed linux kf5-qt5 qt5.15 #104012

00:01:54

80.0%