Commit Graph

377 Commits

Author SHA1 Message Date
Samuli Piippo
f7c9337290 qtquickdesigner-component: switch to CMake build
Change-Id: I464f6cdedf02185876a57f4cafad47d5f60f10b4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit e8102f036a)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-04-06 12:19:20 +00:00
Qt Submodule Update Bot
02fb616ca6 Update submodule refs on '6.3.0' in yocto/meta-qt6
Change-Id: I1cca98c48160112e6defb7e2f820d2bfd908fa8f
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-04-06 12:19:14 +00:00
Samuli Piippo
713eb4e17b qtbase: update license checksum
Change-Id: If4c6822c71e627d973b55f9edad382a4d6088acd
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 910ec2e260)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-06 15:19:10 +03:00
Jani Heikkinen
8d84283339 Update The-Qt-Company-Commercial
Newest version is 4.4.1 so update it in the git as well

Task-number: QTBUG-101714
Pick-to: 6.3 6.2 dev
Change-Id: Ifd65867cc25abacd37bf1e90c0638bc50ac476b5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-03-24 13:57:52 +00:00
Qt Submodule Update Bot
8fe1279fc6 Update submodule refs on '6.3.0' in yocto/meta-qt6
Change-Id: I45c12090ceaf23bcaa9077b6a9361dc51cb1314c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-24 13:57:48 +00:00
Samuli Piippo
44de5ef63b qt6: update branch to 6.3.0
Change-Id: I58907f9f7586840e0fa3b9e108b8806bb5956cea
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-03-24 11:02:22 +02:00
Samuli Piippo
7b5664baea qtdeclarative: include tools in packagegroup
qtdeclarative-tools has runtime tools, such as qmlscene,
that can be useful in the image.

Change-Id: I359611f8a3e575d8b18b63c4f8a034ad5ab705a1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit c3d4a5722f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-24 08:59:50 +00:00
Samuli Piippo
bf616129dc qtinterfaceframework: remove workaround
Kirkstone has been updated with working nativesdk-python3
builds and qtinterfacewramework can now be included in the SDK.

Change-Id: Ibcaf520688a56f9607db89993aa9ec9e2d667844
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit bc0717a20b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-23 12:13:12 +00:00
Qt Submodule Update Bot
b231f6c0e4 Update submodule refs on '6.3' in yocto/meta-qt6
Change-Id: I8c3bfdf21257b7ae776b0edba680b708c034a357
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-17 00:15:06 +00:00
Samuli Piippo
54e4d0c3de sdk: add bin to PATH
Prepend PATH env with the path to the bin directory in the cmake
toolchain file. This let's CMake to find CMAKE_MAKE_PROGRAM (make or
ninja) without need to specify it explicitly when using the qt-cmake*
helper scripts.

Change-Id: Ic7ce057421395d98158b3ad6e529f30b629bdded
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit eaee55e9fe)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-16 14:31:50 +00:00
Samuli Piippo
aa588cff17 sdk: support cmake builds on Windows
CMake and Ninja combination does not support changing RPATH on Windows hosts,
even when cross-compiling. Add CMake configuration to workaround this.

Change-Id: I5d82c0a7f91cf81a0b3ed7c0f14aeccc36464f91
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 554b947ba4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-16 14:31:44 +00:00
Samuli Piippo
e90ef97afb qtbase: enable scripts for mingw toolchain
Make sure the qt-cmake* helper scripts get correctly created
for mingw toolchains.

Change-Id: I0ec6c4e12abf375677226ea32a6c36066a990f3b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3d122c668c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-16 14:31:38 +00:00
Samuli Piippo
173e3b70a5 qtinterfaceframework: update workaround for kirkstone
Skip qtinterfaceframework also with kirkstone now that master
branch is using kirkstone as DISTRO_CODENAME.

Change-Id: I8ff7c9c3289d4f2c8864c14a6abcf61fe34250a6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit b32b7f2774)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-16 14:31:38 +00:00
Qt Submodule Update Bot
56e8134c19 Update submodule refs on '6.3' in yocto/meta-qt6
Change-Id: I226081faea1229a0f33f360e0f62e94c5471e1fe
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-14 18:43:37 +00:00
Qt Submodule Update Bot
d6c27faf90 Update submodule refs on '6.3' in yocto/meta-qt6
Change-Id: I2f91760dda6b9b3d97e7e585d3faf6adda3b1c6a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-12 08:34:18 +00:00
Samuli Piippo
853c9c8a37 Create Conan profile
Generate Conan profiles that can then be used with the SDK.
Task in qtbase generates profile that has all the architecture bits
and configure arguments in place. The profile added in the SDK phase
lets Conan recipes know how to use the SDK with the QT_CONFIGURE_MODULE
environment variable.

Change-Id: I33a9b0f3915417d98ad12559ce7661c92b1cc739
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit a64c978983)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-10 10:51:57 +00:00
Qt Submodule Update Bot
975f77f9e8 Update submodule refs on '6.3' in yocto/meta-qt6
Change-Id: Ib76cf09ee4143aa1a441f898dc424ca59427347f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-09 20:58:41 +00:00
Samuli Piippo
62cfee30ad sdk: resolve absolute paths in toolchain file at runtime
MinGW toolchain doesn't perform relocation during installation,
so all the absolute path point to the temporary sdk paths.
Use the location of the toolchain file to get the absolute
paths at runtime instead instead of using external SDKPATH
env for it.

Change-Id: I699b2178baf5cc855a57186056341b6c6eefbbf5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 0ef2348d49)
2022-03-09 13:40:37 +02:00
Samuli Piippo
d165497f6b sdk: rewrite cmake toolchain file without environment variables
The default OEToolchainConfig.cmake uses environment variables
to set all the cmake variables in place. The Qt6Toolchain.cmake
chainloaded the same toolchain file after setting everything to env.

Rewrite the Qt6Toolchain.cmake now to set all the cmake variables
directly without using environment variables or chainloading
the origin OEToolchainConfig.cmake.

This allow better integration to QtCreator that might be used
to modify the compiler flags for projects.

Change-Id: I7c7c42ec17c86f53b62ed557d9b61d5d19abc1e0
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 5cbac6cf35)
2022-03-09 13:40:29 +02:00
Samuli Piippo
2d7b5b5572 qtdeclarative: update patch
Pick-to: dev
Change-Id: Ie993de39fa7838c3cec41febaae131fa01b6af0d
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-03-07 12:35:26 +00:00
Qt Submodule Update Bot
8dcb6901a5 Update submodule refs on '6.3' in yocto/meta-qt6
Change-Id: I059fa32fe0162f8cb585597827156ca3a5340fce
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-07 12:35:25 +00:00
Samuli Piippo
c1c7845e48 licenses: add SPDX license mapping to old license names
The common license files have been renamed to use SPDX names, but we
still support some older yocto branches that use the old names.
Add mapping to allow building with older yocto version after the
recipes are updated to the new license names. This avoid warnings:
No generic license file exists for: GPL-3.0-only in any provider

Change-Id: Ib93baf9027442e69ab5bce294449bd203d9be2aa
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f80f96848d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-06 17:43:34 +00:00
Samuli Piippo
f4f6519b0e ptest: fix packaging of test data
Use correct path for the test sources and data.

Change-Id: I90f14130dce7f3b5ef3ae45dbdd60540c795ba9e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d1ffa135a7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-06 17:43:28 +00:00
Martin Jansa
f423d97315 meta: update license names
* openembedded-core/scripts/contrib/convert-spdx-licenses.py .
  ...
  All files processed with version 0.01

Change-Id: Ife671a597eea9e1567d2b37d0aea25cc0b8e9012
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d26bf4af06)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-06 17:43:28 +00:00
Samuli Piippo
b10c715746 srcrev_update: fix update task with latest fetcher
Additional check was added into the bb.fetcher that needs to be
workaround in srcrev_update task. Otherwise task will fail with
error:

Exception: bb.fetch2.FetchError: Fetcher failure: Recipe uses a
floating tag/branch without a fixed SRCREV yet doesn't call
bb.fetch2.get_srcrev() (use SRCPV in PV for OE).

Change-Id: Ib3c2665257c344c312074519a03d96437866cd8d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 6492c16955)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-05 10:05:17 +00:00
Mikko Gronoff
6505a07cba qtwebview: update license & checksums
Change-Id: I061c2c6a2267fea2bb8c613de2da0c33a5059446
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 89ba83fa7a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-04 04:33:25 +00:00
Mikko Gronoff
bc65a84ad2 qtbase: update license agreement checksum
Change-Id: I76d6a0a4576d3a8430060d42845e4ca4b5fd7219
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit e0436d24f3)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-03-04 06:33:25 +02:00
Qt Submodule Update Bot
a45a5e69e4 Update submodule refs on '6.3' in yocto/meta-qt6
Change-Id: I4dbe3083c876ed8365c96793fba308d9d8658346
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-04 04:33:25 +00:00
Samuli Piippo
d86ad68f8b layer: use the same priority as the core layer
Some of the python3 recipes we carry are already in meta-python
layer, but not in all the branches that we support. In order to use
the most recent recipe, we need to have same or lower BBFILE_PRIORITY
than meta-python. Depending on the branch, meta-python's priority is
either same or higher than the core layer's priority.

Change-Id: I98c74858c5be69e45a76a45ed10aa1168c614618
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d36033ca56)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-03 14:29:58 +00:00
Samuli Piippo
25bf9d8123 layers: Bump to use kirkstone
Fixes: QTBUG-101142
Change-Id: I85c5dbbfc10184108514dd01a3255018c0dc3db4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3ff5acc752)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-24 15:46:39 +00:00
Samuli Piippo
e209f4f496 Coin: adapt to variable renaming
In kirkstone, some of the variable have been renamed to
use inclusive language.

Change-Id: Ic03fc3a748ea6a4e3e510040b9cd6b5e038d4662
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 2d4825f309)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-24 15:46:33 +00:00
Samuli Piippo
fef2b23c08 Coin: use include files for configuration
Restructure the Coin build configs so that all configurations
are already in .inc files that can be easily included.

Change-Id: I93d74254804b7d17106a3f08af2973464e669928
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0708a33ea6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-24 15:46:26 +00:00
Samuli Piippo
6e6c08bf32 qtbase: update patch
Update patch to apply cleanly again.

Change-Id: I235a321bdf05e6d74871f204dd154929478ecc3c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 28c7a28568)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-15 14:00:31 +00:00
Samuli Piippo
df990437f2 qtquickdesigner-components: add dependency to native-qtdeclarative
native-qtdeclarative is needed to take advantage of qmlcachegen
and qml script compiler.

Change-Id: Ie78b3401a1f4dfe252970f8c0b1dea70c0c0c954
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 9471cb966f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-14 16:04:45 +00:00
Samuli Piippo
a147088213 sdk: workaround failing nativesdk-python3-qface build
meta-openembedded/master has issues building certain python3
modules for nativesdk. For python3-qface, failure is from dependency
chain: nativesdk-python3-qface
 -> nativesdk-python3-watchdog
  -> nativesdk-python3-requests
   -> nativesdk-python3-pyopenssl
    -> nativesdk-python3-cryptography

Don't include qtinterfaceframework to sdk when using master branch
with poky until all modules can be built correctly.

Change-Id: Id2837f1363a22cb28e45c1165631cfa3f37756a7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit b2ccd0bd60)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-14 16:04:45 +00:00
Qt Submodule Update Bot
ca6cede62c Update submodule refs on '6.3' in yocto/meta-qt6
Change-Id: If34b474af4b1b84f7835bf6b214df586346bf6e3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-02-12 07:30:40 +00:00
Samuli Piippo
ee85e8f64a licenses: be explicit about BSD license
All references here to BSD actually mean BSD-3-Clause.

Change-Id: Iec43070c5245d053259c215311f238989741c85d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 154c396c57)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-10 18:43:39 +00:00
Samuli Piippo
cc4e3412e1 sdk: use relativate path with cmake toolchain file
Paths in mingw toolchain are not relocated when installed, so we
need to use relative path for the Qt6Toolchain.cmake file.

Fixes: QTBUG-100642
Change-Id: I48542f20f4443c8130f89c2436f5b0ecea914bb0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit e78c281c0a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-10 18:43:39 +00:00
Samuli Piippo
48caadfe1b qtdeclarative: re-enable ptest
This reverts commit fff02af10d.
Auto test build issue has been fixed.

Change-Id: I55ef6f7aec1a5695089b1fb62e5b6aafb4299d70
Pick-to: dev
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-10 10:43:56 +00:00
Samuli Piippo
5e00e4b5d5 qtapplicationmanager: update revision
Change-Id: I0ad22db23eb4a8574c56845fae2ef239298a56d1
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-02-10 12:43:55 +02:00
Samuli Piippo
85e55e5629 Revert "qtbase: fix mingw nativesdk build"
This reverts commit 68bd9cee63.
Proper fix has been merged to qtbase.

Change-Id: I394bc594d2b4d9b90b98f530d65703b4352afa29
Pick-to: dev
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-02-10 10:43:54 +00:00
Samuli Piippo
2394565194 qtwebengine: update patch
Change-Id: I4b521099b2283943b893d841c5f2d12e2fbbce01
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-10 12:43:52 +02:00
Qt Submodule Update Bot
e0f125fc25 Update submodule refs on '6.3' in yocto/meta-qt6
Change-Id: I06c173e70ca4fcc0e43d7428a3e3e6594c40d0ed
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-02-10 10:43:51 +00:00
Samuli Piippo
4ddc541314 qtbase: remove unneeded patch
Catch2 was updated in qtbase, patch is no longer needed.

Change-Id: I762e27a49ddcc325c5911e36bb65aab24b0b78cb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 9080dc9fe0)
2022-02-10 12:43:50 +02:00
Jani Heikkinen
1c4223f70f Fix a bug in LA 4.4
Fixes: QTPMO-1479
Change-Id: I86eefc98ad663141de840d54d713ef029ee28291
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 92b8d16b73)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-09 19:15:11 +00:00
Samuli Piippo
87c5d8ffcc ptest: allow ptest to be disabled for all Qt modules
For static Qt builds, it's useful to allow disabling ptest for all
Qt modules without removing ptest from DISTRO_FEATURES, since that
would cause rebuild of most of the system components.

Change-Id: I32aa202ce8e4a1260e287b0625495ef828536511
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a730a1f029)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-04 11:44:22 +00:00
Samuli Piippo
4d361d1a89 Coin: use manifest to fetch meta layers
Use manifests to fetch meta layer repositories. This enables
us to easily pin the upstream layers to specific revision if
and when the latest revision gets broken.

Build again against master branch, the manifest is pinned to
working meta-openembedded revision.

Change-Id: I5d217f6932aaf5eaacae8ccbc790ea31aaa27f37
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 688791f03d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-02 03:35:34 +00:00
Jani Heikkinen
8b4b1f58c3 Update The-Qt-Company-Commercial
Newest version is 4.4 so update it in the git as well

Task-number: QTBUG-98971
Change-Id: I3b2086857e7c9b9cf7d44a40c080ae6bd03ca927
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 7017b2f1f6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-01 17:18:30 +00:00
Samuli Piippo
d6b2ee4fd7 qtpdf: force remove conflicting files
QtPDF does not support static builds, but the build still passes
ok in bitbake builds. Use force when removing the files, since they
don't exists in static builds.

Change-Id: I50cce6e277c25c32aa98804d5f3de6d25df12b25
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit e6fda09a6f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-01 10:39:45 +00:00
Samuli Piippo
8b362114e9 qtinterfaceframework: fix packaging for static builds
In static builds, we can't have the extra simulation and refapi packages
first on the list, since the static libs would end up there as well.
Use PACKAGE_BEFORE_PN to add the packages in proper order.

Change-Id: I35976b90b12137caa7b7044f4aef40c229c75783
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 7e1e9f892e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-01 10:39:45 +00:00