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>
| commit | 3f552ef978221c8c0fd1dec0d08f09ab11f7e56a |
| parent | 42b09eed8c2637ed7332d940d6e13c716d40174e |
| author | Marc Mutz <marc.mutz@qt.io> |
| committer | Marc Mutz <marc.mutz@qt.io> |
| commit time | Mon, 24 Aug 2026 14:25:59 +0000 |
- M tools/balsamui/converterthread.h
- M tools/balsamui/inputlistview.h
- M tools/balsamui/inputtab.h
- M tools/balsamui/mainwindow.h
- M tools/balsamui/settingstab.h
- M tools/lightmapviewer/lightmapfile.h
- M tools/lightmapviewer/lightmapimageprovider.h
- M tools/lightmapviewer/lightmapmesh.h
- M tools/lightmapviewer/lightmapviewerhelpers.h
- M tools/materialeditor/buildmessage.h
- M tools/materialeditor/custommaterial.h
- M tools/materialeditor/materialadapter.h
- M tools/materialeditor/syntaxhighlighter.h
- M tools/materialeditor/uniformmodel.h
- M tools/particleshadergen/genshaders.h
- M tools/shadergen/genshaders.h
- M tools/shadergen/parser.h
- M tools/shapegen/shapemanager.h