Commit Graph

8 Commits

Author SHA1 Message Date
Marc Mutz c172b40ac6 Include what you need: qquaternion.h
qmatrix4x4.h will lose its qquaternion.h include, so include
qquaternion.h explicitly in all files that mention 'QQuaternion',
unless, for a foo.cpp, the own foo.h has already included it.

Picking all the way back, even though the include removal won't be
picked as far back, because it's the correct thing to do and cannot
fail.

Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I417307626f61b47f694b18424f8c2941f7b8a31c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2025-07-04 10:52:21 +02:00
Lucie Gérard 28bba0ad93 Correct license for test files
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I966d4033a73aacabb39f582270f2f1c18e2bcecd
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-04-23 06:28:57 +00:00
Lucie Gérard 2f1bc82b35 Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.

Pick-to: 6.4
Task-number: QTBUG-67283
Change-Id: I8105424281eed871037fa6c463871ca8829876b5
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-06-22 10:47:10 +02:00
Michael Brasser 3d2d67b571 Expand QPaintedTextureImage documentation
Also make use of the newly documented pattern in the manual test.

Pick-to: 5.15
Change-Id: Idefe271eea345848af3817e08ac5b45946843dad
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2020-10-22 08:29:56 -05:00
Paul Lemire 25ac41ad81 Fix compile warnings
Change-Id: I4fbded297c1988b3ace17f6675527a0a00db8973
Reviewed-by: Mike Krus <mike.krus@kdab.com>
2020-08-18 16:36:14 +02:00
Mike Krus 174cd487b4 Make sample meshes geometry renderers again
Introduce new geometry view class for each.

Change-Id: I8e9a8f3a078d4cc63f9656ae8142e39f05d755c7
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2020-07-30 13:51:37 +01:00
Mike Krus 5bf4f93fcb Make default geometries views
In Extras, make QTorusMesh and others a QGeometryView rather than
a QGeometryRenderer. Requires changes to scene graphs here and there
but going forward there simple shapes could be used as proxies for
picking or collision detection, etc.

Change-Id: Id488e064080dfd303e448aba11e6b242236b81d4
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2020-02-27 12:10:08 +00:00
Wieland Hagen 8fed49011d Add example application demonstrating the use of painted textures
Change-Id: Id134a8143e72b74deee077db1421f2ab64b0a328
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2016-08-13 15:37:36 +00:00