tools: port headers to #pragma once


They are not installed, so #pragma once is more robust than the
overly-generic (PARSER_H) or duplicated (SHADERGEN_H) manual header
guards.

SyncQt rejects #pragma once headers, if anyone ever tries to install
them, so this also serves as a static assertion that they are _not_
installed (and therefore their lack of Q namespacing is fine).

Amends many. Backports will just drop changes to files that no longer
exist (or were moved).

Pick-to: 6.12 6.11 6.8
Change-Id: I14ac05eb2efca3f580ab6c5bc1da5a97c56106c6
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
commit3f552ef978221c8c0fd1dec0d08f09ab11f7e56a
parent42b09eed8c2637ed7332d940d6e13c716d40174e
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeMon, 24 Aug 2026 14:25:59 +0000