The QML Script Compiler is a commercial drop-in replacement
for the cachegen tool to compile your QML script expressions
and functions to C++ ahead of time.
It is available only for commercial customers and source code
fetch needs proper ssh keys available for accessing the repository
at codereview.qt-project.org.
Usage of QML Script Compiler is not enabled by default, but if
enabled globally using ENABLE_QMLCOMPILER variable, all Qt modules
that have dependency to qtdeclarative are compiled using Qt QML Compiler.
Its usage can also be enabled or disabled by each individual recipe.
Task-number: QTBUG-95475
Change-Id: Iee8539ee8ddc17c70e9ed81ab3b4f242f9386586
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit d0e7002304)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
QT_BUILD_TOOLS_WHEN_CROSSCOMPILING triggered qtbase-native
to try to find tools from QT_HOST_PATH, which obviously
doesn't exists yet. Use it only for target and nativesdk
builds.
Fixes compilation failure:
| -- Searching for tool 'Qt6::moc' in package Qt6CoreTools.
| CMake Error at cmake/QtToolHelpers.cmake:122 (message):
| Neither QT_HOST_PATH_CMAKE_DIR nor Qt6HostInfo_DIR} available.
Change-Id: I260526c08f48f179049eb4b0ab3e6561958d0a53
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 3bb76773a8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Honister is now released, add it to the CI test builds.
Drop Gatesgarth since it's now EOL.
Change-Id: Ice5813836d8a4edb435db71017d231468993edcf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 178142ee57)
* github decided that nobody should use git://
https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
and starting today all the builds were failing to fetch the metadata
layers from github like:
2021-11-01T18:53:26 INFO _main_ Updating [meta-ros]
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
this was just a "test" as they said:
"November 2, 2021: We'll also run several short brownouts on this date."
and it will be completely disabled on January 11 2022.
Change-Id: I26de93c094cd1e8002d589e8d760a22a12e76d03
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 3166786ac3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Github won't be supporting git protocol anymore, switch to using
layer from openembedded.org.
Change-Id: Id711fe7818d37650b0643c17bd3386ca1a344f9a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3cc53e8e7f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Current CI build using the toolchain recipe is a bit limited as the
package_qa tasks were never ran for the Qt recipes. Also the rm_work
was not done which lead to disk space running out in CI builds. Add
both native and target packagegroup recipes to the target builds that
will ensure that both of the above mentioned tasks are now run.
Change-Id: Ifb73b807f4f9f551836bfa20003aaf88bc758d78
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 673457878e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
QtPositioning has been split from the qtlocation into its own
git repository.
Change-Id: Idbe9cbe52828e55689d75c0ac255226e3dd99103
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9bb12bca78)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtQuickTimeline is optional dependency for QtQuick3d, but enabled
it by default.
Change-Id: Ibce7da7fa8de31c983f3f4c3feae916bb9b10322
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0e978b932b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Includes compilation fix for harfbuzz-3.0.0:
error: 'hb_subset' was not declared in this scope; did you mean 'hb_set_set'?
Change-Id: Ieb01f3787eed72c34e178b62eff012fafedb8d9a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d13153f426)
In Qt5, dependency to qtdeclarative-native was added dynamically for
every recipe that had dependency to qtdeclarative. This was done because
building static Qt required the native package even when dynamic build
did not. Remove this automatic dependency and explicitly add the dependency
to those recipe that require it.
Change-Id: Ida44d6a05d95db500b7fbfcb803c703c0433e93b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit c3389d194c)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add master to the CI build. Sync coin/test-configs.inc from dev regarding
qtwebengine configuration, which now needs to be disabled from gatesgarth
and dunfell.
The target machines are aligned with dev so that same targets are build
with same yocto branch. This should allow reuse of existing builds
for both branches.
Task-number: QTBUG-97065
Change-Id: I81d5ef3c554f2ebbd065283031a9c99eea6dced3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Bitbake now requires zstd, which is not yet available in the provisioning
of the CI machines.
Change-Id: I9f75219a686580ae228384c4fb4a6222a0e6fd09
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a77f474aba)
The CMake issue has been fixed, enable qtbase tests again.
This reverts commit 32685d7671.
Change-Id: Id820482b2bb313a0e79a5305e2e8d58564d519a6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
- Update Qt modules to latest content in 6.2 branch
- Update deviceutilities to latest revision in 6.2 branch
- Update quickdesigner-components to latest revision in dev branch
- qtquickcontrols2 translations entry removed from
packagegroup-qt6-essentials as it has been merged into qtdeclarative
one (see qttranslations commit 4f70f10e390d2c34bdb32b0f91df888a6aededd1)
Task-number: QTBUG-97015
Change-Id: Ia014bc11a5c997395584b6f942a42dad6dbe31e6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This a workaround for Dunfell, where native packages are still
cleared which means that qtbase-native cannot have runtime dependency
to libssl as the package does not exist.
Fixes:
ERROR: Required build target 'qtbase-native' has no buildable providers.
Missing or unbuildable dependency chain was: ['qtbase-native', 'libssl-native']
Change-Id: Idad2a85b3a84275e5824545e22d425b578d1d647
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit a604992ea8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* fails in do_install_ptest_base when ptest is in DISTRO_FEATURES
Change-Id: I89778b3b53594a2ca46a088775689251e82dc8aa
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.
Fixes:
CMake Error at TOPDIR/BUILD/work/raspberrypi4-webos-linux-gnueabi/qtserialport/6.2.0-r0/recipe-sysroot/usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:2063 (add_library):
Target "SerialPort" links to target "PkgConfig::Libudev" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Change-Id: I2c1549f22bebf3c091485644574cbc46402c4996
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit f475a94185)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.
Fixes:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Sensorfw pkg not found. Looking for library
CMake Error at cmake/FindSensorfw.cmake:9 (find_library):
find_library called with incorrect number of arguments
Change-Id: Ia16c038afa7af54295b1cb6c7c9bcccfa311bf0c
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 1575c7229a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.
Fixes:
ERROR: Feature 'pulseaudio' was enabled, but the pre-condition 'libs.pulseaudio' failed.
Similar change was already applied in meta-qt5:
f200be9d67
but the same is needed for qt6.
Change-Id: Ic3f674bcfd7dbbc6f149a1ae94cd66613a948050
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit d718354d16)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through webos_pkgconfig.bbclass as
we're using it here.
Fixes:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
...
ERROR: Feature "zstd": Forcing to "ON" breaks its condition:
ERROR: Feature "libudev": Forcing to "ON" breaks its condition:
Change-Id: I0705e15d57f30b5aeb908631d269db3dfd3413f3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
This is the result of automated script (0.9.3) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Change-Id: I23f9e955618b36878635b17265f0d8bb81a5cf55
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
qtlocation was qtpositioning for a while, move to
correct place.
Change-Id: If69d0aac0ad485087acc47531c03c2abc3aa7b72
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
get_glibc_loader is provided by linuxloader bbclass, make sure
we inherit that. Also change the function to get_linuxloader
that provides correct loader based on the used libc.
Amends e225c808b3
Change-Id: Ic8cd3dc8c4d908a4f0c3256d49209bf2d2ddf4d3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtWebEngineProcess is not deployed on images, reason for that is
that current package order is:
PACKAGE_BEFORE_PN = "${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-examples"
where ${PN}-tools will grap the QtWebEngineProcess before ${PN}
pacakage, since it includes all ${QT6_INSTALL_LIBEXECDIR}.
Simply add qtwebengine-tools, and remove superfluous path
from qtwebengine recipe.
Fixes: QTBUG-96857
Change-Id: Ibe1d35e916caf38b75a8452c041bbff888103018
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Debug files from tests were packaged along with everything else causing
toolchain to have over 3Gb of debug files of little use. Since the
packaging of the debug files is done dynamically, we'll need to remove them
using an additional function that run during the packaging.
Task-number: QTBUG-96583
Change-Id: I3695cdd21ba9b9443770c671e50bbf230a58cfd6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 626697c8bd)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
QtTools is using a git submodule within a submodule. Rename it so
that the parent chain is recorded correctly for scripts to handle
the update.
Change-Id: I7b8028da254be4e6bb1f523fe10947996563186e
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 223788235b)
Move all the module SRCREV into qt6-git.inc file using the same format,
where repository name is used for the postfix. Changes to the module SRCREVs
are mostly done by updating all the modules at once, usually either with
a separate update script, srcrev_update bbclass or by external update bot.
This change should make the update process more easily automated.
Update the srcrev_update bbclass to handle updates in qt6-git.inc in addition
to recipe files, with and without the repository name postfix.
Change-Id: I711e7867dba3b066d363ca40f78e7b4aa740a69c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f61b87ae78)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
For Coin builds, ask for 16 core build machine, but limit the maximum
number of bitbake tasks to 8. Try to speed up the builds, but to avoid
OOM which can occur when several Qt modules start to build in parallel
after dependency to qtdeclarative is satisfied.
Change-Id: I3a0d646f4204fb0269bba2356543589a5620ed3e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 170ca88bcd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Raise max build to 12 hours, but lower time without output to 2 hours.
Change-Id: I866bf07324793fce4ce88189053216abd8b4302f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit bc1d2a0fff)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Some of the tests fail with gold linker.
error: unexpected reloc 3 against global symbol qt_version_tag without base register in object file when generating a position-independent output file
collect2: error: ld returned 1 exit status
Change-Id: I223e34fb9ecba01a8f3df5123eed6705d93ceed8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Some x86-64 target, such as intel-skylake-64, use AVX instructions that are
not supported by QEMU (https://gitlab.com/qemu-project/qemu/-/issues/164).
This causes the build tools to crash with QEMU when they are ran during
to build. Instead of using QEMU, change the wrapper to try to run the
tools directly, using the target dynloader.
Change-Id: I790e013f91ce5f0e42fb1e11ff61e4428d14d9ad
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>