The density of Q_FOREACH uses is high here, too high for this author,
unfamiliar with this code, 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-115808 to keep track of
this.
Task-number: QTBUG-115808
Change-Id: I29c377f939e3d747e3ce72c224c4ee722df7a95d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Change-Id: Ieed5efd0b487b38ed36e1b111e2b286c5403c9f7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
The build recipe uses the qtbase's 'bin/qt-configure-module' script
directly which is recommended when building other Qt modules ouside
the qtbase's -prefix.
The recipe uses functionality from qt-conan-common Conan
package via 'python_requires'.
This recipe sets it's own Conan options that match with the
module configure options.
The recipe sets it's version number based on QT_REPO_MODULE_VERSION
and QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT in .cmake.conf file.
The dependency to qtbase, qtsvg and qtshadertools is declared
using semantic versioning so that it will pick the latest
available prerelease or final version of the major.minor.patch.
Task-number: QTBUG-94384
Pick-to: 6.2
Change-Id: I1f12434521d11f63c31a102bfbfaf923cb262965
Reviewed-by: Toni Saario <toni.saario@qt.io>
Includes
- renaming of internal plugin api call
- generation of QT_QMLTYPES_FILENAME
- addition of a few TARGET_DESCRIPTION
Change-Id: I72b5647b8c16af9945795ead62a075322b6bb2f6
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>