Commit Graph

185 Commits

Author SHA1 Message Date
Samuli Piippo
019581cff7 qttranslation: recommend all translation packages
Add RRECOMMENDS for all the dynamic translation packages to the main
qttranslation package to allow easily include all translation files
in the image.

Pick-to: 6.1
Change-Id: I564d4fe704a8b88e14d94154c3283e58d52ddb21
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-25 09:16:05 +02:00
Samuli Piippo
e60fed4f98 Split modules into essentials and addons
Add separate packagegroup recipes for essential and addon
Qt modules and make sure all modules are included in those.
Avoid unnecessary dublication with packagegroups and remove
the toolchain target packagegroup, instead use the combined
qt6-modules packagegroup for the toolchain as well. This will
install all development packages as long as SDKIMAGE_FEATURES
has dev-pkgs enabled.

Task-number: QTBUG-91902
Pick-to: 6.1
Change-Id: I574da02ae1632c1e41490a1244398f31eaeeb97b
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-03-25 09:15:58 +02:00
Samuli Piippo
629e44806b qt6: update submodules
Change-Id: I62a11908069c1140a7d920d5f5339bd5c31a1f6b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-25 09:15:44 +02:00
Mikko Gronoff
b13445afca Update Qt License Agreement 4.2.1 -> 4.3
Update The-Qt-Company-Commercial license 4.2.1 -> 4.3.

Task-number: QTBUG-72434
Pick-to: 6.1 6.0
Change-Id: I6a80b9f1f709d9f78f47a5ac78f9644734e835d6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-03-23 06:28:52 +00:00
Mikko Gronoff
162d983753 Add hardknott to LAYERSERIES_COMPAT
Pick-to: 6.1 6.0
Change-Id: I07f17e1e63df6e71cf1d4e68f353198093ae6826
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-03-22 08:17:58 +00:00
Samuli Piippo
212ae9b201 Use bindir for tools on Windows SDK
Move all the builttime tools back to bindir when building a Windows
SDK. This saves us from adding mingw libraries to the libexec dir
needed by the tools.

Fixes: QTBUG-91895
Pick-to: 6.1
Change-Id: I4da0f03190e3862e93c49fbd267baf567bf7a5d5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-18 14:45:31 +02:00
Samuli Piippo
0a096d1814 Add recipe for Qt Positioning
The git repository is shared with Qt Location module, but this recipe
builds only the Qt Positioning module.

Change-Id: I82d18b8b11ea35f7c65f3564443b196f69712325
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-17 08:01:31 +02:00
Samuli Piippo
67c94eee72 Add recipe for Qt SCXML
Pick-to: 6.1
Change-Id: I25a4a980b9aff1e15585c8c1bba4459e74fa266f
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-03-17 08:01:17 +02:00
Samuli Piippo
f55ee894d0 sdk: copy qt.conf to libexec dir
Some of the tools have been moved to libexec dir and need to have
the qt.conf available there as well. Amend also commit
381dcb985d so that qt.conf in the SDK
contains the path for the host libexecdir.

Task-number: QTBUG-91756
Pick-to: 6.1
Change-Id: Id76b603d1107dd70c63be7682007e4c34621750a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-16 09:56:33 +02:00
Samuli Piippo
0c0a398137 qtopcua: rename PACKAGECONFIG enabling QML support
Change-Id: Idc2c7d3103468b7b11b5b10e2005b0a8062f3526
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-03-16 09:56:22 +02:00
Samuli Piippo
42bc9ffbe4 Add recipe for Qt WebChannel
Change-Id: I19a55575363125a2ca8bbfbb74d59c1b2302dfb9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-16 09:56:17 +02:00
Samuli Piippo
e95e0bc64c Add recipe for Qt Sensors
Change-Id: I7b1c54175776a1209ba18dac52a928bbd6a65da6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-16 09:56:10 +02:00
Samuli Piippo
1d073418b7 Add recipe for Qt Connectivity
Change-Id: Ifb535c1f510f5f7f2b7742f262ee15e7c4efc394
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-16 09:56:06 +02:00
Samuli Piippo
e32667402d Add recipe for Qt Remote Objects
Change-Id: Icaa13ccf8d09f0a4ba80b931fa3270b6790d8e81
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-16 09:56:01 +02:00
Samuli Piippo
1933970950 qmake: fix example PACKAGECONCIG for qmake projects
The default PACKAGECONFIG[examples] only works for cmake projects,
add correct arguments when using qmake projects. Skip QA check for
dev libs (.so) in example packages.

Pick-to: 6.1 6.0
Change-Id: I559395f3bfcb64d54e2f8ede4bbdf07c5aa617e9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-12 09:43:20 +02:00
Samuli Piippo
a813c48901 Add recipe for Qt Quick Designer Component
Additional QML components used in Qt Design Studio.

Task-number: QTBUG-91512
Change-Id: I87ba6c18d55dda3527bb7591434c55509d3bffa2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-11 12:44:25 +02:00
Samuli Piippo
381dcb985d qt6: add support for QT_HOST_LIBEXECS
QMake has new config path for QT_HOST_LIBEXECS that's used for
tools moved from bin to libexec dir.

Change-Id: I7b8ea8c137ce93ff9d9f583eb8e333ab6b16c0bf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-10 09:31:09 +02:00
Samuli Piippo
a2658b4c62 qtbase: move OE_QMAKE_QTCONF_PATH patching to correct place
QMake has its own code for handling the qt.conf file location.
Move the OE_QMAKE_QTCONF_PATH patch to the correct place.

Change-Id: I508c4329b0ea084e98594c97072004489d5c13fe
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-10 09:31:03 +02:00
Samuli Piippo
d90472ab6c qt5: update submodules
Change-Id: I9bef45d49ce22943476b1de259b8d2fb71944b58
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-09 09:36:04 +02:00
Samuli Piippo
fe0c4887c3 qtbase: remove scripts that cause file-rdeb QA issues
Remove unneeded macOS and Android specific scripts that depend
on perl and bash which then cause file-rdeps QA issues.

Pick-to: 6.1
Change-Id: I877461fdcffc4fee5b29e929ad8ac2d30a2e980a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-24 11:32:44 +00:00
Samuli Piippo
8309653390 qt6: update submodules
Update to the latest revisions from dev branches.

Change-Id: I0c1f9a682469eb3433002f5adfbd9fee032e84ff
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-24 13:32:37 +02:00
Mikko Gronoff
55707395a9 qtdatavis3d: add recipe
Pick-to: 6.1
Change-Id: I5b6b952e555da225a110f8821623a422c9cba772
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-02-23 09:23:00 +02:00
Mikko Gronoff
cf4dafd3cf qtlottie: add recipe
This module is part of Additional Libs from Qt 6.1 onwards.

Pick-to: 6.1
Change-Id: I0f33bad251dd2a77eba469b94561b0284c175ae5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-02-18 12:47:27 +00:00
Samuli Piippo
7057c72ca9 qtbase: remove cmake version override
The minimum required cmake version is now 3.16, no need to
override it anymore.

Pick-to: 6.1 6.0
Change-Id: Id31d5a88e61e0dc4f2a78448482c61a894a59d94
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-16 05:58:47 +00:00
Samuli Piippo
f7ba296577 qt6: update submodules
Update to the latest revisions from dev branches.

Change-Id: Ia1ff260fd02e2c1a6dbb275c9e4679db6987935c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-12 08:55:47 +02:00
Samuli Piippo
af28e2cec7 Update branch information
Add 6.1 branch information to the CI testing table.

Pick-to: 6.1 6.0
Change-Id: Ibc394287ef6dd89fabfe23a6ea99746804a61507
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-12 08:22:33 +02:00
Mikko Gronoff
4ed1c29264 update inherit order in nativesdk-packagegroup-qt6-toolchain-host.bb
fix QA Issue: "nativesdk-packagegroup-qt6-toolchain-host:
native/nativesdk class is not inherited last, this can result in
unexpected behavior"

Pick-to: 6.0
Change-Id: I393865b94d6f37ed815c41155a352b4f6b8b29fe
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-02-10 07:01:30 +00:00
Samuli Piippo
5aa68606d5 qtbase: remove circular dependency
After oe-core commit c4257ed8b1040a5a0e9a95846d81961741239116, the DEPENDS
are not cleared in native packages, which causes qtbase-native to have
a circular dependency.

Fixes: QTBUG-91043
Pick-to: 6.0
Change-Id: Ie741f7d2a71ce00392e34c2d98faa944ac489574
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-09 19:05:59 +02:00
Lassi Lehikoinen
426b222a45 device utilities: add recipe
QtDeviceUtilities is part of Qt 6.1 Add-Ons.

Task-number: QTBUG-87956
Change-Id: I1d17a323ce5ec87c6dd81951b960c9495d4d1850
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-27 16:05:05 +02:00
Mikko Gronoff
b412b6013f qtquick3d, qt3d: update recipes for new assimp SRC_URI
Assimp submodule has been moved from github to code.qt.io mirror.

Change-Id: I23cb8a24c01e0cd1b805e41bae329351707c374b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-21 15:09:26 +02:00
Samuli Piippo
21c1abd75b Add QMAKE_AR_LTCG
Amend 438c538fd285b33406633574f65dd5045baf8134 with QMAKE_AR_LTCG which
is needed when using LTCG configure option. Cleanup unused variables:
QMAKE_NM has never been used and QMAKE_CFLAGS_ISYSTEM is no longer used.

Pick-to: 6.0
Change-Id: Icdb9ba48f867ff30066d8fda0c223cc3b2be2c2d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-01-20 15:17:55 +02:00
Mikko Gronoff
82f713bc27 virtualkeyboard: update module & recipe
Update to latest revision and remove lipi-toolkit related configs from
recipe as recent change in dev branch remove lipi-toolkit completely
(commit 2dadd235600f748e682a6129beb76e514dc14265: Drop lipi-toolkit)

Task-number: QTBUG-90009
Change-Id: I8a054607e2279c735b45487af5a47212fb6a079a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-19 09:15:40 +02:00
Samuli Piippo
ac8056ef0e Add QMAKE_OBJCOPY and QMAKE_NM to mkspec
Needed to use the correct cross-compiler tools for objcopy and nm.

Fixes: QTBUG-90256
Pick-to: 6.0
Change-Id: I38048033b17d388b86612bc7205c4e22d948be29
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-01-18 09:44:52 +02:00
Mikko Gronoff
6fcc09a1e8 qtcharts: add module
QtCharts is part of Qt 6.1 Add-Ons.

Task-number: QTBUG-90009
Change-Id: Id4deeb5be0eb95bb5712a77d8a25aaf71eb25992
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-15 08:49:22 +00:00
Mikko Gronoff
8f3ee763a5 qt6: update submodules
Update to latest content in Qt 6.1 (dev) branch.

Task-number: QTBUG-90009
Change-Id: I182c6a2c08856d388243ea1e31fee726fe2faa8a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-15 10:18:54 +02:00
Samuli Piippo
083d1441cb qtbase: enable zstd support with openembedded layer
Enable zstd compression support by default, if meta-oe layer
is included in the build.

Pick-to: 6.0
Change-Id: I343594025c3850dd2bfd54b6a476c3dfec320c57
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-01-14 15:03:33 +02:00
Mikko Gronoff
3d352e7173 qt6: update submodules
Update to latest content in Qt6 dev branch.

Change-Id: I36dfe3b46c0046715b580f4d15ce98da39312db0
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-12 09:08:05 +02:00
Samuli Piippo
876480f7ce coin: use unique hostname in CI machines
NFS uses hostname as the client id and doesn't work properly
if more than one VM is using the same hostname. Change to unique
hostname before mounting the cache.

Pick-to: 6.0
Change-Id: I58791d8eecc22589dc39a9e21a3b3a40afdfd905
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-12-31 13:45:59 +02:00
Samuli Piippo
81b5375448 Update to Qt 6.1 from dev branch
Change-Id: I8277f8071bd5378a323ef528fb968965ee3dfefe
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-12-16 10:20:15 +02:00
Mikko Gronoff
aaa3b77573 qt6: update submodules
Update to latest content in Qt 6.0.0 branch.

Change-Id: I378320c1812420975debcb8b9cf572703f6197fb
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-12-05 17:22:12 +02:00
Mikko Gronoff
bb03bf6e28 qt6: update submodules
* Update to Qt 6.0.0 RC2
* For non-essential Qt modules, change branch from dev to 6.0.0 where
  branching has been made

Task-number: QTBUG-86349
Change-Id: If641367ecc0113296c5cf60e2ff67bfab56942ae
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-12-02 07:24:57 +02:00
Samuli Piippo
2bb3541bcb qtcoap: examples depend on qtdeclarative
Change-Id: I2bd33f3502bfd7b2034ddbd6aef3f283d3a6f103
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-27 07:27:18 +02:00
Samuli Piippo
47c530b5e0 qt3d: add dependency to qtshadertools
Build needs to have both target and native as dependency.

Change-Id: Ib8f01b30822e1e3d2f170297b620c352819e77ca
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-27 07:27:12 +02:00
Samuli Piippo
ecc126ed6e qtimageformats: add PACKAGECONFIGs for all imagetypes
Support for mng cannot be enabled, default to formats available from oe-core.

Change-Id: I9ed3e8b9e173f13a67fef4832aa6ef42681f7285
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-27 07:27:06 +02:00
Samuli Piippo
181b94d709 qtbase: update PACKAGECONFIGs
Add configuration for odbc and brotli, and use system sqlite
if enabled.

Change-Id: I7065bb00be3aa60e438a55c78a8361d102262e0e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-27 07:26:59 +02:00
Samuli Piippo
59d929603c Update example and test PACKAGECONFIG
The CMake options were renamed.

Change-Id: Ib4bc6019b75b422d22306a8d5129512171008705
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-27 07:26:52 +02:00
Samuli Piippo
b1adc3fa3a Update readme
Add note about supported yocto branches using markdown syntax, rename
the file to match.

Change-Id: Ic7e4a8d8a910ab75f1c43b05132ee22805b763ef
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2020-11-25 08:50:04 +02:00
Mikko Gronoff
03489c6d85 qt6: update submodules
Update to Qt 6.0.0 RC

Task-number: QTBUG-86349
Change-Id: I31296ec03824c5a3c4a4e3b416296f8dd0fb3d43
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-11-25 08:46:51 +02:00
Mikko Gronoff
4ee65d5e60 qt6: update submodules
- Update to proposed Qt 6.0.0 RC content
- Set dev branch for non-official qt6 modules
- Re-enable qtopcua module

Task-number: QTBUG-86349
Change-Id: Ibb1a15796e572fe2407ba436c0d2b318a0be9352
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2020-11-24 11:39:04 +02:00
Samuli Piippo
4246a8afaa qtbase: update opengl PACKAGECONFIGs
Remove patch and add separate PACKAGECONFIG for disabling opengl.
Rename desktop opengl to gl to match what meta-qt5 is using.

Change-Id: I3308efd0717da79c813dcbc681787d47932a7f3e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-17 12:46:25 +02:00