Enable strict mode 6.11+ in qttasktree


Was alredy clean, except for QT_NO_QPAIR, which will
come in strict mode 6.12.

We can only enable QT_LEAN_HEADERS at level 1, since QtDeclarative
headers aren't level-2 clean, yet. While the module doesn't currently
have QML bindings, let's not cause the addition of them to be broken
immediately. Lean headers level 2 will come with strict mode 6.12,
most likely.

Fixes: QTBUG-145266
Pick-to: 6.11
Change-Id: I0ca04cc78f148bc00c4240ce85ddd6c87333d33f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
commitec194d138d43723b5adc0c9f25faa92628164ba0
parentcab6dee19bd2000a05230834b37ef8741f58929a
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeFri, 27 Mar 2026 08:54:25 +0100