Avoid enabling the "dummy" sensors plugin by default


The dummy plugin appears to have adverse effects on performance on
linux. It causes constant CPU usage in for example KDE's background
daemon, without having any use. The condition should be fixed to only
build when dummy was explicitly enabed.

Pick-to: 6.5 6.2
Fixes: QTBUG-113435
Change-Id: If10750fb08b1537b0108f09f23cff6af10c33c31
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
commit34b9ba3724ec5b4c1d383fd5643fdde7ef6a2105
parentdf9b9a9c9e0338cd033fb14894944ef095d52057
authorAlexey Edelev <alexey.edelev@qt.io>
committerAlexey Edelev <alexey.edelev@qt.io>
commit timeTue, 9 May 2023 10:13:30 +0200