QtLocation is back in Qt 6.5.
Task-number: QTBUG-108731
Change-Id: Id86ade02040d626ecadb6c35f173b3be25f02e97
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Some of the modules have executables that are necessary for the
module to work properly. Don't put them into the *-tools package
which is not installed by default.
Task-number: QTBUG-99702
Change-Id: I7a9e8532862644574bd2bfb729e6efe466dac070
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Compile time tools are not generally needed on the target.
Don't force them by default, but make it possible to enable
them with QT_FORCE_BUILD_TOOLS = "ON".
Task-number: QTBUG-99702
Change-Id: If2d3ce9252213b28cc06efe0e9c5cfd57db81371
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add new class that can be used to create toolchain containing
all available Qt modules.
Pick-to: 6.4 6.2
Change-Id: I84982749ea9093bbbd20f99391b063c4bcaee39f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Update CI builds to use langdale instead of honister releases.
Pick-to: 6.4
Change-Id: Ib18be53b6d3308d5e4c5a2269b40ce67a4c352ee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Printing support needs cups in cases when it's not already enabled
in qtbase.
Pick-to: 6.4 6.4.1 6.2
Change-Id: I5435bdd61b418f91524726571c9acd2cea92c729
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Enable jpeg support for qtbase-native, needed at least by shadergen.
To use system png, zlib needs to be enabled as well.
Pick-to: 6.4 6.2
Change-Id: I0bea658d689fb99596374701b11aa9ce028e882d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtQuick3D's shadergen uses cache from user's home directory.
Disable the caching as it can lead to problems with pseudo.
Change-Id: I6b889fe94eb218d803ece49c9e0ca4ec18c3524a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add license mapping for GFDL-1.3-no-invariants-only to use the GFDL-1.3
license file in older Yocto releases. This recudes warnings for missing
generic licenses.
Pick-to: 6.4
Change-Id: I51d439515166214fb89f3af60680a77879709ec9
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Build now require either patchelf or CMake to 3.21 or newer. To support
older Yocto version, add dependency to patchelf.
Change-Id: Id0ef1787e3da0f302d31a0ab3048155b661b64af
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Latest chromium no longer supports x86 builds.
Enabled spellchecker as build fails without it.
Change-Id: I6f40d48c20a47edbbc958e2f9c25907d05feb5b1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit c1441fcabc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
The XCB support now uses libxcb-cursor instead of Xlib/libXcursor.
The recipe is available in meta-openembedded, which now makes
it a mandatory layer for XCB support.
Task-number: QTBUG-67373
Change-Id: I40a1d100fd06aaeb31b3d4876de0ce6e7d836632
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
QtQuick3DPhysics has a new runtime tool that should be included
in the images.
Pick-to: 6.4
Change-Id: Ib6dd643217b1dea76ff42a48183f78427cc2eadf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This reverts commit 810f41bd6a.
The commit was been reverted in qtdeclarative, patch is no longer needed.
Change-Id: I26e13bb2c8c1b0e464cc69673df56833ea7a9985
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit c6e8ab8bc6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
After 812bf25183, we need to extend the
workaround for badly configured CMake also to qtbase-native. This fixes
error: CMake was not built with zstd support. Rebuild CMake or
set QT_AVOID_CMAKE_ARCHIVING_API=ON.
Fixes: WEBOSCI-54
Pick-to: 6.4 6.2
Change-Id: I33c97b1a051fe90d706461c83f75912aa1c1c820
Reviewed-by: Janne Juntunen <janne.juntunen@qt.io>
If simulation support is enabled, make sure the package gets installed
to the image and toolchain. CMake files have references to the plugins
which causes builds to fail if interfaceframework is used with the SDK.
Pick-to: 6.4 6.4.0 6.2
Change-Id: I7cf0fc334644ce38e783f6b7e21a7f5b082dacd0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Qml tools are now using --bare option, which limits where the tools
tries to find the qml modules. For the test builds, we again need to
use QT_ADDITIONAL_PACKAGES_PREFIX_PATH to tell the tools where to
find qml files for the Qt module we are currently building.
Task-number: QTBUG-106365
Change-Id: I6dfcd32f405475de0f58448cbaa7a19e26cbcfe8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 63eeb3b83e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Tests are build against the destination directory where qt module was
just installed. This causes extra files to be taken into source package
and adds references to the TMPDIR, which produces QA warnings from
buildpaths QA test. Use DEBUG_PREFIX_MAP to get rid of those paths.
Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-105913
Change-Id: I01ed9261004410db307f2cd809a181377b734c9e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Testlib adds references to the build and source directories to tests,
which causes warnings on buildpaths QA test. Remove those references.
Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-105913
Change-Id: Ic63e72a0b11bef55876ef5ca40d0c1d753243004
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reduce warnings from buildpaths QA test (contains reference to TMPDIR)
and remove few build utils that are not usable in bitbake build.
Run same do_install steps for all qtbase builds instead of keeping
separate ones for nativesdk.
Pick-to: 6.4 6.3 6.2
Change-Id: Id8a6c4c3b03a850bdb1f99e3a3a08973e134eafc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reduce warnings from buildpaths QA test (contains reference to TMPDIR)
by removing QMAKE_PRL_BUILD_DIR from prl files.
Pick-to: 6.4 6.3 6.2
Change-Id: I1a5fbac82c4a026b6ba41db3b0cca6a9fbf1e31a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
If we stop forcing build of target tools, we then need to have
dependency to the native package.
Pick-to: 6.4 6.3 6.2
Change-Id: Ie5d9634ba4c85af877920e66fd88d36880af8afc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Amend 0b55d8ec94 and remove the initial
host paths from CMake files. They point to the temporary build paths
and cause build breaks in declarative builds.
Pick-to: 6.4
Change-Id: I17d46b989f024e71ec617ff130c8ea7d7fc85641
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
After qtbase change 0f8017efb6d037c4f33f947eb3c56aeafa28313c, QT_HOST_PATH
is no longer set in qt.toolchain.cmake, but it was moved to Qt6 package
cmake files. Since the package is in target sysroot, we can no longer use
its location to determine the absolute path of the host sysroot. Instead,
resolve QT_HOST_PATH now in the CMake subscripts and use them also without
the environment-setup script from Qt6Toolchain.cmake.
Change-Id: I81d908321c0d05ab589b9340a62a45800e936252
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0b55d8ec94)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Zlib is mandatory dependency, meaning if there is no system
one qt will do bundled one. This is important to
know which one is used as webengine will try to build also
bundled one.
Task-number: QTBUG-103149
Pick-to: 6.4 6.3 6.2
Change-Id: Ie7cc83dea558a5605295133fb0bf6fe0a3217492
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Some lines from qt.toolchain.cmake.in were moved elsewhere, causing
the need to update meta-qt6's SDK patch to match these changes.
Pick-to: 6.4
Change-Id: I2b7ff9b6fa009e5a654f97ddd05541d5fa0e84ad
Reviewed-by: Janne Juntunen <janne.juntunen@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
rcc is using zstd to compress resources, so that needs be
enabled also in native and nativesdk builds.
Pick-to: 6.4 6.3 6.2
Change-Id: Ic10758eb41a67712e55b44bfec4d4385d0512f7e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
WebEngine needs minizip which is part of zlib.Till now it always built
bundled zip as minizip recipe does not exist in poky and moreover this
was never a configurable feature as it was not in PACKAGECONFIG.
A change in https://codereview.qt-project.org/c/qt/qtwebengine/+/384262
enables compilation of bundled minizip against system zlib (by using
shim headers) however it is not advisable as those two version of zip
might be different and minizip is project wise a part of zlib.
Therefore introduce cheap rip off of zlib recipe, however
building minizip from same source tree.
Task-number: QTBUG-103149
Pick-to: 6.4 6.3 6.2
Change-Id: I1e36d2fba339fb5383018f05a6347c27dde0c8c1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Needs explicit dependency to qtquick3d-native if tools are not
built for the target.
Pick-to: 6.4
Change-Id: I999a946536a4f15620f10d60e5c3195a0d1f4b9b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Remove patch that was used to disable tests failing to build with gold
linker. After qtbase commit 40c8bc42026a8cf118ab60920314d84856c397a6,
the long stanging issue with gold linker and qt_version_tag symbol [1]
seems to be resolved.
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842304
Pick-to: 6.4
Change-Id: I522b101929c99ebe35fcb6948be46c85b07eefd2
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
The fix was merged and patch is no longer needed.
Change-Id: I013e2077638fe692bf6f494b1e12115e3edaaa2a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
The fix was merged and patch is no longer needed.
Change-Id: I27f8bf0497fbbf86a4e81b5ca5a1591b4a663cbc
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
Update licenses after SPDX changes were applied to the module.
Change-Id: Ic6bf4edc58096483315835868ad096af526e8652
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
Update licenses after SPDX changes were applied to the module.
Change-Id: Idb7f50c2c031a79ecf98a09e3da2883877498970
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit ad37ff1b6f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I275fa9e39923d69149f03844022cb86819cc61b6
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>