Move Q_INIT_RESOURCE(extras) call outside namespace definition
Otherwise the linker tries to find
Qt3DExtras::Quick::qInitResources_extra
instead of a plain
qInitResources_extra
which leads to an undefined symbol error with a static Qt build.
Amends 5e4888945d534b280aa7f618609a514ebd77783f
Pick-to: 6.8 6.10
Fixes: QTBUG-140939
Change-Id: I4b34103f709ee05347e78478c11d4033eedd30b2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| commit | 1683fa3130b9eae00f0c260b6744ce7ad931eb04 |
| parent | c99cfe020dd579fa138b3400f63524bbad31588a |
| author | Alexandru Croitor <alexandru.croitor@qt.io> |
| committer | Alexandru Croitor <alexandru.croitor@qt.io> |
| commit time | Thu, 16 Oct 2025 16:55:03 +0200 |