Make qtdeclarative optional again


The entire CMake code assumes that the module can be built without
qtdeclarative.

But submodule update d3c06aea1fe4ef64700a3d0d18ccd6fdc55e6b47 made
qtdeclarative strictly required for some reason.

This patch reverts it.

Pick-to: 6.11 6.10 6.8 6.5
Change-Id: I136358b175d782e428083b624bb6070cf33df5f7
Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com>
commit8a7ed3fb419afc19f84c6cbdcfc4f6c1b337924a
parentafa59ad02e0ac8625aa033629297df16a98595b6
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeFri, 27 Feb 2026 11:48:08 +0100