plugins: assert that headers are not installed


Use #pragma once to statically assert that these headers are not being
installed. Esp. the assimp plugin ones are not ready for reuse (too
generic header guard names, qHash() defined for a type they don't
own). Then drop the "we mean it" comments, because those _do_ indicate
installed (but private) headers, which is not the case here.

If syncqt.cpp is asked to forward a header with #pragma once, it will
bail out, therefore #pragma once is a marker for
uninstalled/uninstallable headers.

Amends f9154b50cd916789cacb8dd75d67b2e5ac771f3b (6.2), which moved the
assimp files from (apparently installed) _p.h headers in src/ to a
plugin, dropping the Q-namespacing of the header guards, and
8a13be8e8ac583c5931fdf3f8f08fa174fe34466 (picked to 6.3).

Pick-to: 6.11 6.8 6.5
Change-Id: Ie9ed1f82fd2f35a07600d2cba8fdb6b2bfdd7e9f
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
commitf79d8c2fa8551447c4b7a70e77ab19f6b4632d52
parent19b8bbf4f9ebb1c35c3b39cee16b598563a29f52
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeTue, 5 May 2026 08:26:50 +0000