Fix missing includes


There's been recent header refactorings, this fixes the fallout.

Pick-to: 6.3 6.2
Change-Id: I632f652ed12e151af6d1ad09c3ace510f60747ab
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commit979e2bc57767385022d754fbf7da2b1aeb30fdb4
parent7b763f5f9e956b5df9c15cbe946d07c7fb93df1e
authorVille Voutilainen <ville.voutilainen@qt.io>
committerVille Voutilainen <ville.voutilainen@qt.io>
commit timeTue, 17 May 2022 20:23:39 +0300