deskutils/copyq: Fix build with Qt 6.6.x
PR: 275068 MFH: 2023Q4 (cherry picked from commit d8c99ce7c5d803e2d39ce8363ed4abdcd211dd39)