summaryrefslogtreecommitdiffstats
path: root/src/datavisualization
Commit message (Collapse)AuthorAgeFilesLines
* Correct license for snippets and examples filesLucie Gérard2024-03-157-7/+7
| | | | | | | | | | | | According to QUIP-18 [1], all examples and snippets file should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: Iad147b8191e42a18137378f315bd18182784acaa Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Do not render volumes into selection bufferTomi Korpipaa2024-03-151-1/+1
| | | | | | | Pick-to: 6.5 6.6 6.7 Fixes: QTBUG-113605 Change-Id: I50b1f33671996ac52481a0c15590f160f7d6842e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Include what you need: <QPointer>Marc Mutz2023-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | All these TUs relied on transitive includes of qpointer.h, maybe to a large extent via qevent.h, though, given that qevent.h is more or less the only public QtBase header that includes qpointer.h, something else seems to be at play here. Said qevent.h actually needs QPointer in-name-only, so a forward declaration would suffice. Prepare for qevent.h dropping the include. The algorithm I used was: If the TU mentions 'passiveGrabbers', the name of the QEvent function that returns QPointers, and the TU doesn't have qpointer.h included explicitly, include it. That may produce False Positives, but better safe than sorry. Otherwise, in src/, add an include to all source and header files which mention QPointer. Exception: if foo.h of a foo.cpp already includes it, don't include again. Task-number: QTBUG-117670 Change-Id: I3e240ca20cb4d0f37a2267a70fa5a672264b4c52 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Mark the whole repo with QT_NO_CONTEXTLESS_CONNECTAhmad Samir2023-08-241-2/+0
| | | | | | | | | | By adding it to the default build flags via .cmake.conf. This amends commit 69404b3f0d4e650c0b21ed07862be49b51c99300. Task-number: QTBUG-116296 Change-Id: I8e80246dc2283b369f31971aaceeb907b0cfdfd0 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Mark the module as free of Q_FOREACH, except where it isn'tMarc Mutz2023-08-1812-0/+36
| | | | | | | | | | | | | | | | | | | | | | The density of Q_FOREACH uses is high here, too high for this author, unfamiliar with this module, to tackle in a short amount of time. But they're concentrated in just a few TUs, so pick a different strategy: Mark the whole module with QT_NO_FOREACH, to prevent new uses from creeping in, and whitelist the affected TUs by #undef'ing QT_NO_FOREACH locally, at the top of each file. For TUs that are part of a larger executable, this requires these files to be compiled separately, so add them to NO_PCH_SOURCES (which implies NO_UNITY_BUILD_SOURCES, too). Created QTBUG-115807 to keep track of this. Ported one that was trivial and where whitelisting of the file with a single Q_FOREACH would have been more work than directly fixing it. Task-number: QTBUG-115807 Change-Id: I2fa6c740e35039baf34115af7d69d6c420e4de10 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix warning from unused variable on iOSVolker Hilsheimer2023-08-171-1/+1
| | | | | | | | | | | | The moveMoveEvent code using the rotationSpeed constant is not compiled on iOS, resulting in build failures when compiling with -Werror. As a drive-by, let clang-format remove the whitespace. Pick-to: 6.6 Change-Id: Idf143681b8d88a772ca50bf0f7a2c0bc4ce68fc1 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Build with QT_NO_CONTEXTLESS_CONNECTAhmad Samir2023-07-311-0/+2
| | | | | | | | | | | | | This disables the 3-arg QObject::connect() overload: QObject::connect(sender, signal, functor) For details see: https://lists.qt-project.org/pipermail/development/2023-July/044141.html No changes required. Change-Id: I831233f02d8da4e929d5174aa98946007103a0ec Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Doc: List of all Qt overviews which are now termed as explanationJaishree Vyas2023-07-191-0/+1
| | | | | | | | | | | | | The autogenerated list of overviews was adding the \group command which included all the groups instead of overviews. The idea here is to categorize the overviews later on once we have the list of all overviews. Task-number: QTBUG-114762 Pick-to: 6.5 6.6 Change-Id: I3cf53886be277abc86b5ec54d399cd6933fbe882 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Doc: Remove \ingroup all-examples command from the docsJaishree Vyas2023-07-121-1/+0
| | | | | | | Fixes: QTBUG-115044 Pick-to: 6.5 6.6 Change-Id: I83314f3b7955e1ef9c857bcc96c07f6f90b2f875 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Replace Q_OS_OSX with Q_OS_MACOSTor Arne Vestbø2023-06-071-2/+2
| | | | | | Pick-to: 6.5 6.6 Change-Id: I1b63eda7016a92a857e0b051e173d4e2e886508d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Document the lack of support for transparencyTomi Korpipaa2023-06-053-0/+16
| | | | | | | | Pick-to: 6.5 6.6 Fixes: QTBUG-114178 Change-Id: I4316135b4c96cafa28cf813621cff9803e6e2790 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Doc: Remove 'Graphics' category from examplesTopi Reinio2023-05-091-2/+0
| | | | | | | | | | In Qt 6.6, the Qt Graphs module will replace Qt Data Visualization. Stop promoting examples from this module, as Qt Graphs provides a similar set. Change-Id: If0d50df6bb0cd1046a3c877815639902edd1ba8b Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Resolve a duplicate symbol issueAmir Masoud Abdol2023-04-212-1/+2
| | | | | | | | | | | On unity build, `itemScaler` is defined in `scatter3drenderer.cpp` as well, and causes a symbol redefinition error. By making this one a static member, we can avoid it. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: Iba5b27a9e066de4c4502b30f5c265770bf991649 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Exclude a few source files from unity buildAmir Masoud Abdol2023-04-181-0/+11
| | | | | | | | | | | | MinGW triggers `-Werror=maybe-uninitialized` while proper checks are in place and d_ptr is initialized in operator=(). The copy constructor can probably be implemented differently, but for now, excluding the files allows us to continue testing the unity build. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: Ibb2a101a4fe5a6833903a28887077f0bde5573f8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix invalid value handlingTomi Korpipaa2023-04-183-9/+11
| | | | | | | Pick-to: 6.5 Fixes: QTBUG-112773 Change-Id: I3b00587d27e88dd69b58efe3551abf8759df0020 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Remove dependency on Qml target for the non-qml moduleAlexandru Croitor2023-04-172-4/+1
| | | | | | | | Pick-to: 6.5 Fixes: QTBUG-112813 Change-Id: Ib8d479278657b0741e5e325821c6f1432725005e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix 2 documentation bugsTomi Korpipaa2023-03-032-2/+2
| | | | | | | Pick-to: 6.5.0 Change-Id: I20181ab31953bcfec25ccfe87de079296b534425 Reviewed-by: Dilek Akcay <dilek.akcay@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Combine 2 more widget examples into graph galleryTomi Korpipaa2023-02-272-6/+6
| | | | | | | | | | | Combine the 2 scatter graph examples into graph gallery example. Note: surface examples will be combined into graph gallery in other commits, to avoid making one gigantic commit. Pick-to: 6.5 Task-number: QTBUG-110698 Change-Id: I8c50d07a31a8b1ee84596f4e216e629d88c7846a Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix CMake Unity (Jumbo) buildsFriedemann Kleint2023-02-136-12/+8
| | | | | | | | | | Disambiguate a few static constants. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I6cd2cf3af13b1122ead5ec42b655eb52cdbd2cea Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
* Combine 3 examples into one qmlsurfacegalleryTomi Korpipaa2023-02-102-8/+8
| | | | | | | | | | | Combine qmlsurface, qml3doscilloscope, and qmlspectrogram into one surface graph gallery example. Pick-to: 6.5 Fixes: QTBUG-110700 Change-Id: Ic8319884a61a12c5d65c68314c958a86d62a65b1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix example naming and categoriesTomi Korpipaa2023-01-2714-27/+27
| | | | | | | | | | Remove 2 more irrelevant examples Pick-to: 6.5 Fixes: QTBUG-110463 Change-Id: I9597f311d36fb79db45f6f64fb97bc5376372980 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix invalid drawModeTomi Korpipaa2023-01-193-3/+7
| | | | | | | | | | | Q_ENUM is now required for flags to work correctly from QML. Added the missing definitions. Pick-to: 6.5 Fixes: QTBUG-110358 Change-Id: Ifde893a33a5b43c26f51b0c97883458462376be6 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Doc: Normalize page namesKai Köhne2022-11-021-3/+3
| | | | | | | | | | | | | | qdoc does enforce lowercase file names for .html pages, and also replaces underscore with a dash. Make sure that the original \page name already is normalized, so that it's easier to search. This was done by find . -name "*.qdoc" -exec perl -p -i -E "s/\\\page (.*)/\\\page \L\1/ && s/_/-/g" {} ; Pick-to: 6.4 Change-Id: I3fc5896a62af744d5fd9ac4956ba4b3a2594df0a Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Rename shader and mesh resource filesTomi Korpipaa2022-10-112-4/+4
| | | | | | | | | | | | | | | WASM gets a conflict with Multimedia if the resource file is named just shaders. Doing the same for meshes to avoid future conflicts with some other modules. Pick-to: 6.4 Fixes: QTBUG-107505 Change-Id: I9107f270d8679d1a50ec8127d15cb0c50856eb7c Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tuomo Pelkonen <tuomo.pelkonen@qt.io> Reviewed-by: Dilek Akcay <dilek.akcay@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Port from qAsConst() to std::as_const()Marc Mutz2022-10-061-1/+1
| | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. Task-number: QTBUG-99313 Change-Id: I1992b2cd0624590dacfcf907350ba2ce2f279f05 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Port from container::count() and length() to size()Marc Mutz2022-10-054-14/+14
| | | | | | | | | | | | | | | | | | | This is a semantic patch using ClangTidyTransformator as in qtbase/df9d882d41b741fef7c5beeddb0abe9d904443d8: auto QtContainerClass = expr(hasType(namedDecl(hasAnyName(<classes>)))).bind(o) makeRule(cxxMemberCallExpr(on(QtContainerClass), callee(cxxMethodDecl(hasAnyName({"count", "length"), parameterCountIs(0))))), changeTo(cat(access(o, cat("size"), "()"))), cat("use 'size()' instead of 'count()/length()'")) a.k.a qt-port-to-std-compatible-api with config Scope: 'Container', with the extended set of container classes recognized. Change-Id: Ibed02600e225ee63c06d61bcd6187518f650a0a0 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Do not crash if custom object load failsTomi Korpipaa2022-08-266-43/+70
| | | | | | | | | | | | | | | There was no check for the existence of UVs or normals in an OBJ file. A check for those was added. Additionally a debug message was added in case model loading fails due to missing UVs or normals. Furthermore, we no more qFatal out when custom object loading fails. Pick-to: 6.2 6.4 Fixes: QTBUG-105398 Change-Id: Ie2742fb4307fe117e313cedf8111bc8f460f9c7b Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Dilek Akcay Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-232-2/+2
| | | | | | | Task-number: QTBUG-105718 Change-Id: Id14ba04aaa0724ea734339b96437853065874e3a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-08-032-0/+6
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I829aeda2bda017b7d5bf39795b79dbaee143cb60 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Doc: Specify module headerKai Köhne2022-07-221-0/+1
| | | | | | | | | | Fixes (qdoc) Could not find the module header in include paths for module "QtDataVis3D" Pick-to: 6.4 Change-Id: I6d79454dbacc06805cea986b5f0739febed6a085 Reviewed-by: Luca Di Sera <luca.disera@qt.io>
* Fix layering violation involving AbstractDeclarativeMarc Mutz2022-07-064-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When trying an ubsan build of qtdatavis3d, I get: abstract3dcontroller.cpp.o: undefined reference to `typeinfo for AbstractDeclarative' Turns out that AbstractDeclarative is defined in DataVisualizationQml, a separate library, which depends on DataVisualization. It seems this worked because Abstract3DController only used inline members of AbstractDeclarative, so a normal build doesn't need the class exported, even though it's curious that inline isReady() calls exported QQuickItem::isComponentLoaded() and the linker didn't complain. But an UBSan build requires the type_info, which isn't available, because the class wasn't exported, and cannot be made available because of the layering violation. To fix, Extract Superclass AbstractDeclarativeInterface that provides only the required isReady() function, but lives in DataVisualization, and have the real AbstractDeclarative inherit it. As a drive-by, make isReady() const. Pick-to: 6.4 6.3 6.2 Fixes: QTBUG-104714 Change-Id: I0eb718746355f409a4105e2d53e79b7003fd8b22 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
* Fix -Wunused-function on non-OSX platformsMarc Mutz2022-06-211-3/+1
| | | | | | | | Found by headerscheck. Pick-to: 6.4 6.3 6.2 Change-Id: If3c7e2a10132a1201a08db1fb9b71d0cdcd395ff Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-13196-5470/+392
| | | | | | | | | | | 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: I3b3112f5a36673b90fff0010f973d020886cf08d Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Scatter3DRenderer: initialize variable to make GCC 12 happyThiago Macieira2022-04-251-1/+1
| | | | | | | | | | The compiler thinks the variable could be used uninitialized. It can't... scatter3drenderer.cpp:385:49: error: ‘oldVisibility’ may be used uninitialized [-Werror=maybe-uninitialized] Change-Id: If05aeeb7176e4f13af9afffd16e85d357c2288ab Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Clarify the usage of SelectionMultiSeries flagTomi Korpipaa2022-04-081-0/+2
| | | | | | | | Pick-to: 6.3 Fixes: QTBUG-102405 Change-Id: I8ebc07858b0c60f3ba469f8d0e5d978d0ca3654f Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Fix errors caused by dependency updateTomi Korpipaa2022-03-311-6/+10
| | | | | | | | Fixes: QTBUG-102139 Change-Id: Id9bc508f714a51915fd4d8f67e36561942e19c74 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Show CMake, qmake information in C++ class documentationKai Köhne2022-03-231-0/+2
| | | | | | Pick-to: 5.15 6.2 6.3 Change-Id: I3f7c7150b9a3409fa17a7009b2e69142d17548bc Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* datavis3d: do not rely on transitive includesFabian Kosmale2022-03-112-0/+2
| | | | | Change-Id: I837af484ee94b4a55bd4f6a404ea5b98b800d093 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Doc: Revise Qt Datavis module landing pageAndreas Eliasson2022-03-031-26/+23
| | | | | | | | | | This module landing page follows the style and structure from the Qt CoAP module landing page. Task-number: QTBUG-100369 Pick-to: 6.3 Change-Id: I7062888d0c5a13392c0e2b6f2970677b8a9269d0 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix API review findingTomi Korpipaa2022-02-106-22/+22
| | | | | | | | | | | Rename wireFrameColor to wireframeColor to be consistent with other usage of wirfeframe in QtDataVisualization. Pick-to: 6.3 Change-Id: I1ae6cd7372e46efa2a5d83856126d45355fcff60 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Fix API review findingTomi Korpipaa2022-02-022-2/+2
| | | | | | | Pick-to: 6.3 Fixes: QTBUG-100400 Change-Id: I4d9c09b183413b0fe7dad303fe22aaecc5df6619 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Remove unused .qrc filesJoerg Bornemann2022-01-182-76/+0
| | | | | | | | Task-number: QTBUG-94446 Change-Id: I109795238dc1c19cf0b6e242aa186c8046f13404 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Doc: Fix example manifest filesKai Köhne2021-11-011-26/+26
| | | | | | | | | Amends 793e48f42cd75 Fixes: QTBUG-97683 Pick-to: 6.2 Change-Id: Ib87660093e2dab98d6b61570064117c75d7345f4 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add row colors for Bar3DSeriesSami Varanka2021-10-086-3/+68
| | | | | | | | | | | | | Added rowColors property for Bar3DSeries. The property can be used draw the individual rows in the series in different colors. Autotests and a manualtest for the property were added also. Fixes: QTBUG-96682 Change-Id: I5c4f778189d079206500a9289490792584eab2b9 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Migrate to autogenerated cpp exportsAlexey Edelev2021-09-2746-54/+46
| | | | | | | | | | | | Replace the hardcoded cpp exports with a generated one where it's applicable. Change the cpp export macro name to the autogenerated one. Task-number: QTBUG-90492 Change-Id: Iff6fbff102297feffd443b8b6fef61f5e8f135e5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add hasSeries method to Abstract3D graphSami Varanka2021-09-2411-2/+50
| | | | | | | | | | | | | Added a hasSeries method to Abstract3Dgraph. The method can be used to check whether a series has already been added to the graph. In addition, modified cpp and qml autotests to test the added method. Fixes: QTBUG-96683 Change-Id: I91f70ca15b6c5fbaa7691cd17bbfc2ef460c3d37 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix: QAbstract3DGraph orthoProjection docsSami Varanka2021-09-061-5/+0
| | | | | | | | | | | | | Changed the documentation for QAbstract3DGraph orthoProjection property. The documentation promised too much so the extra lines were removed. Pick-to: 5.15 6.1 6.2 Fixes: QTBUG-96206 Change-Id: I07b42cf359cf6570d2364be737cb2c1bc8294596 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Doc: Remove unsupported customFiltersKai Köhne2021-09-031-3/+0
| | | | | | | | | | customFilters defined in .qdocconf are not supported anymore by Qt Assistant since Qt 5.13. Therefore remove them from all .qdocconf files, also to avoid cargo-culting them to new help modules. Task-number: QTBUG-95987 Change-Id: I3f07ddc1657abaa59e5c0b6756bf7833bbfd85cd Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Fix: change signals to take values by const refSami Varanka2021-09-021-1/+1
| | | | | | | | | | | Changed signals in declaratives to take their arguments as const ref when suitable. Pick-to: 6.1 6.2 Fixes: QTBUG-95941 Change-Id: I3d582422793ee2bfb4cb5251dcacd55d3d3acca9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Add: Support for 16-bit heightmapSami Varanka2021-08-313-22/+222
| | | | | | | | | | | Added support for 16-bit heightmap in QHeightmapSurfaceDataProxy. In addition, added a manual test for testing the heightmap support. Fixes: QTBUG-74814 Change-Id: Ief028a459600680593e8859c9e7b51fb2e43203c Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>