CMake: Add EXCLUSIVE_GROUP to qt_feature()


The tracing backend features (lttng, etw, ctf, tracecallback) used
DISABLE conditions to stay mutually exclusive. These never took effect:
for these AUTODETECT OFF features, DISABLE only matters when ENABLE is
true at the same time, and an explicit -feature-<name>, a cached value
or a ccmake edit overrides the computed default anyway. Several backends
could be enabled at once without any error.

Add an EXCLUSIVE_GROUP option to qt_feature(). When a module ends,
report a configure error if more than one feature of the same group is
ON. Use it for the tracing backends and remove the dead DISABLE lists.

Fixes: QTBUG-151394
Change-Id: Idad29dabf940cb7cf0d621c079fd703e42731211
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit4d4a6eb563cd5f6aa1c15c2d180697ddb14034e4
parent4053f2e82f776bb58ace844d7793f6f8304e2534
authorJoerg Bornemann <joerg.bornemann@qt.io>
committerJoerg Bornemann <joerg.bornemann@qt.io>
commit timeWed, 21 Oct 2026 15:32:12 +0000