AssimpAssetImporter: prepare for a hashable QVector3D


It is amazing that there are two independent users in Qt (declarative
and quick3d) that want to use QVectorNDs as keys into a QHash. Which
means there are probably more users out there, so we're making those
types qHash-able in QtGui directly. This obviously clashes with any
self-defined qHash() overloads for QVectorNDs (which is good - they
are ODR violations and thus UB), so the QtGui change will add a
marker macro for users to detect the presence of the qHash()
overloads.

Use the macro to conditionally disable the assimp local qHash().

Task-number: QTBUG-146558
Change-Id: I48b704fe72952168f7fa5c30b8940ee86c5b69a6
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
commit04413cee126c90c742c3fc857bd853321cdf69b4
parent22cb9c49ce3eebb4d28b6faa79c1b34c74282285
authorMarc Mutz <marc.mutz@qt.io>
committerAhmad Samir <a.samirh78@gmail.com>
commit timeTue, 12 May 2026 05:50:30 +0000