Don't set CMAKE_AUTO* to ON, because in a top-level build AUTOMOC would
complain about a missing moc executable. Same for uic and rcc.
Change-Id: Iaa7c8013f11cebb3dc02f2de681c608ee5ba01e0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
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>
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>
When using qt-configure-module, we need to check if widgets feature
is disabled with configure-style syntax as well.
Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I44147123a4c36ab6b8dfebb2affdc8c4bcde7149
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
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>
Many of the manual tests were not compiling,
because many of the signals and slots had not
compatible signatures.
Pick-to: 6.4 6.3 6.2
Change-Id: Ibd881e5cca37ec666cb160c95b948e064ac09e5d
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
This will make sure the test data is packaged and available
on device at runtime.
Task-number: QTBUG-88846
Pick-to: 6.2 6.3
Change-Id: I9a62299243a784b5e3857ddd968a2abcdd3d6d54
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>
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>
Both define a struct called QAbstractItemModelForeign.
This led to a linking duplicate symbol issue with static Qt libraries:
duplicate symbol 'QAbstractItemModelForeign::staticMetaObject' in:
libQt6DataVisualizationQml_debug.a(mocs_compilation.cpp.o)
lib/libQt6QmlModels_debug.a(mocs_compilation.cpp.o)
Add a DataVis infix to the foreign types created by the module, so
they don't clash with the QmlModels ones.
Amends 8691caff2b
QmlModels type was added in 528547f5d9d6929f41c94e11591dae36f2794ba2
Pick-to: 6.3
Task-number: QTBUG-102256
Change-Id: I0134ffb7da9e97ff347991a144b5297643aa4c0c
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
This reverts commit 0b493d875d.
Reason for revert: Fixed in aec6b0075863bff181d1d3dfdf1399264de01f67
Task-number: QTBUG-101513
Change-Id: Ibf9e867bb787014d60dee1461b9c167bd158c360
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
QNX QEMU does not have support for hw acceleration thus missing
createPlatformOpenGLContext, which is required for the QML applications
to work.
Pick-to: 6.2 6.3
Change-Id: Ic24f96e9cdc907ae16c1a50b0f0ddf75085d807e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
See script in qtbase/util/includeprivate for the rules.
Since these files are being touched anyway, I also ran the
updatecopyright.pl script too.
Change-Id: Ib056b47dde3341ef9a52ffff13ef677e471674b6
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
- tst_customvolume::compile on qnx
- tst_touch::compile on qnx
- tst_themecolor::compile on qnx
- tst_colorgradient::compile on qnx
- tst_proxy::compile on qnx
- tst_heightproxy::compile on qnx
- tst_customitem::compile on qnx
- tst_scatterseries::compile on qnx
- tst_surfaceseries::compile on qnx
- tst_light::compile on qnx
- tst_surface::compile on qnx
- tst_value::compile on qnx
- tst_customlabel::compile on qnx
- tst_camera::compile on qnx
- tst_barseries::compile on qnx
- tst_category::compile on qnx
- tst_basic::compile on qnx
- tst_scene::compile on qnx
- tst_bars::compile on qnx
- tst_logvalue::compile on qnx
- tst_theme::compile on qnx
- tst_scatter::compile on qnx
- tst_input::compile on qnx
Pick-to: 6.2
Pick-to: 6.3
Task-number: QTBUG-101513
Change-Id: Ia08731ec898d02ad2196a3d21364850d9ac2dc49
Reviewed-by: CI Insignificant Platforms Monitor Bot <ci_insignificant_platforms_monitor_bot@qt.io>
The build system only records dependencies on module packages when
they start with the Qt:: prefix.
Do that for DataVisualizationPrivate.
This fixes the warning / error:
Found package configuration file:
Qt6DataVisualizationQml/Qt6DataVisualizationQmlConfig.cmake
but it set Qt6DataVisualizationQml_FOUND to FALSE so package
"Qt6DataVisualizationQml" is considered to be NOT FOUND. Reason
given by package:
The following imported targets are referenced, but are missing:
Qt6::DataVisualizationPrivate
Amends 8691caff2b
Pick-to: 6.3
Fixes: QTBUG-99724
Change-Id: I92a280121a0584bc1718237e8965a2b5dd0ba774
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
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>