Commit Graph

279 Commits

Author SHA1 Message Date
Samuli Piippo
403ab76764 Add QtWebEngine
Build QtWebEngine using CMake. Include helper files (chromium-gn.inc and
gn-utils.inc) from meta-browser. QtWebEngine build no longer requires
additional support in the host system, instead the build time tools
are run using QEMU.

WebEngine requires python2, available from meta-python2 layer, and
at least CMake 3.19. Only oe-core/hardknott provides recent enough CMake.
CI builds of webengine are limited to hardknott for this reason.

To use system ICU, QtWebEngine requires ICU 68 or up. This is also
available starting from oe-core/hardnott.

spellchecker feature doesn't work properly, since it requires
a native util to be built.

Task-number: QTBUG-93825
Change-Id: Id150275f5adfedd8f1acdc5f92c46a437da84f2e
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
2021-09-09 18:47:43 +03:00
Samuli Piippo
6ce601a4d5 qtmultimedia: fix build with older (<1.16) gstreamer
Some of the video formats were introduces in GStreamer 1.16 and fail
to build with older releases.

Change-Id: I56c04f472840ce6b82f480e9e918d2b4245ab14e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-08 08:23:41 +03:00
Samuli Piippo
251d89e2ca qtmultimedia: add workaround for conflicting declartions in GL headers
Change-Id: Id080829fd0e10c4edad99ea2857550d27c4d6953
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-07 15:44:25 +03:00
Samuli Piippo
7feb5f4a4a qtmultimedia: include only when opengl is available
QtMultimedia current depends on EGL and build fails when opengl
is not available.

Task-number: QTBUG-96251
Change-Id: I26d1c3880db9f5593132bda4617088da6cafe16d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-07 06:59:26 +00:00
Mikko Gronoff
bee140b3b1 qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-91012
Change-Id: Iad7b3e8e9fbda13f9042c984d768f232806413d3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-09-06 13:48:05 +03:00
Samuli Piippo
32685d7671 Coin: disable qtbase examples in dunfell
As a workround for apparent CMake issue, disable examples from
qtbase.

Task-number: QTBUG-96197
Change-Id: I95cb44f21c22d1e4a1c73913fde5f2a49fcd5530
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-05 21:34:33 +03:00
Samuli Piippo
70dff380b2 Coin: allow yocto version specific configurations
Add easy way to have different configuration for the CI builds
based on the current Yocto version.

Pick-to: dev
Change-Id: Idfda5d2e9079864e210382fa0e928b969fae311d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-05 21:34:22 +03:00
Pasi Petäjäjärvi
ba60bb511b sdk: Add QtShadertool
Provides qsb command line tool for shader compilation/inspection

Change-Id: Icc71773c0cdc1501472448a22056695e499f87a4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 8579e97c0d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-08-30 15:42:29 +00:00
Samuli Piippo
d4232d5a71 Coin: use toolchain for the CI test
Build the toolchain recipe for CI test, which allows us the limit
what recipes are included.

Change-Id: I9c532dcc97979bf40a0ca094850d7a0602f2f9d0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-08-30 08:18:53 +03:00
Samuli Piippo
bb3c5a08a2 Coin: remove uninative overrides
Upstream has more recent versions already.

Change-Id: Idc64576ddbdb2549e2b4af802cc8b8b5b62f704e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fdda14cfbc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-08-24 13:36:24 +00:00
Mikko Gronoff
3b3572a59c qt6: update submodules
* Update to latest content in Qt 6.2 branch
* qtquickcontrols2: remove recipe & references
  (quickcontrols2 was merged into qtdeclarative
  module, see QTBUG-95173)
* Proposed 6.2.0 beta3 content - one qtdeclarative patch
  added on top of that to be able to build native side
  successfully (accessibility disabled)

Task-number: QTBUG-91012
Change-Id: Ie72f98518ceae98b83ceddb4b97a3772c40a9185
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-08-17 08:29:54 +03:00
Samuli Piippo
34f86eb73c qt6: update submodules
Latest revisions from 6.2 branches.

Change-Id: If19155088bf0828398c589b2ec7c61d7776f9338
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2021-08-05 09:17:46 +03:00
Samuli Piippo
36c7a0bd38 Coin: stop using master branch for CI build
Latest bitbake has changed the override syntax to use colons
instead of underscores. This makes master branch incompatible
with meta-qt6 until we convert to the same syntax.

Change-Id: I5181882f44d49ce872f76e1620c5e3c195f6686c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2021-08-04 16:00:41 +03:00
Jani Suonpera
b1230558dd qt6: update submodules for 6.2
Task-number: QTBUG-91012
Change-Id: Ida1e6c8a0397642e98eef5ca866946a369af01cf
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2021-07-26 10:03:34 +03:00
Mikko Gronoff
b39409532c qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-91012
Change-Id: Iefb06a7049002ae014dfb220c08df4a0a615cd27
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2021-07-02 19:12:37 +03:00
Mikko Gronoff
0d88f51b12 qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-91012
Change-Id: Ib8adb7e215a1bbaae6ce4c63f50c74f46a503fdc
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-07-01 10:28:53 +03:00
Mikko Gronoff
872cbab2d8 ptest: disable rpaths due QA issue
Disable rpaths from ptest to fix
QA Issue: package contains bad RPATH.

Change-Id: I0d790f276a2e45559675e2e51e95a2cb4b99a5b1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-06-30 09:00:51 +03:00
Mikko Gronoff
e64bfcb7ec qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-91012
Change-Id: Ia833922fd5956ada244c186854f38be507edef82
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-06-29 15:00:03 +03:00
Samuli Piippo
4548a015db sdk: use relative paths in qt.conf
Change the absolute host paths in qt.conf to relative. This allows
SDK to work in Windows without need to patch the paths.

Change-Id: I0a3f6e793b033d727f7633c022b27392acc91823
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7ac9c84014)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-06-28 20:06:39 +00:00
Mikko Gronoff
9a4453aa51 qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-91012
Change-Id: I10eaefcab3d5f8678022e74184b279c25f21c9d4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2021-06-23 08:35:25 +03:00
Samuli Piippo
ac597001df Move libexec to tools
More modules are installing tools to libexec and none have
any runtime binaries there. Include it in the *-tools packages.

Change-Id: I2ed65bc4f88982ef91d2d5758624c16c32a082d6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-06-14 16:29:20 +03:00
Mikko Gronoff
5377433e3d qt6: update submodules
Update to latest content in dev branch.

- Assimp submodule in qt3d & qtquick3d recipes changed to
  correct "qt6_assimp" branch as it now contains needed
  fixes.
- Qtquick3d patch removed, available upstream

Change-Id: I9d99e14595502d9df0078e7e3f9d876f1c46da0c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-06-14 16:29:15 +03:00
Samuli Piippo
29999c4ffb qtgraphicaleffect: remove recipe
QtGraphicalEffects has been moved to be part of qt5compat
module for compatibility with Qt 5 code. This can be accessed
by importing "Qt5Compat.GraphicalEffects

Pick-to: 6.1
Change-Id: Ia3478e300938a9c612472bf98256d0f521489c33
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-06-11 06:40:34 +03:00
Alexey Edelev
a4fa1a93d8 Add recipe-sysroot path to the standalone test build
Module dependency lookup mechanism requires all Qt dependencies
acessible through the paths specified in PATHS parameter of the
find_dependency call. Since cross-repo dependencies are available
only in recipe-sysroot, it's necessary to add it explicitly
to the QT_ADDITIONAL_PACKAGES_PREFIX_PATH cache variable.

Change-Id: I506456bc715943ae7ba2ebe61e1a38936bb93a31
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-06-10 14:33:07 +02:00
Samuli Piippo
f850278548 qmake: use correct host prefix
QT_HOST_PREFIX should point to the root of the host sysroot.

Pick-to: 6.1
Change-Id: I7bb02df58da432ef70dba47f5e5866948f121c53
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-05-25 22:38:17 +03:00
Samuli Piippo
22f55689b5 sdk: use pkg-config from the sdk
Add needed envs to the default toolchain file used when
the setup-environment-* script have not been used.

Fixes: QTBUG-93896
Pick-to: 6.1
Change-Id: I5dc1773152b87f0c11434643de75386ddd999f72
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-05-25 22:38:07 +03:00
Samuli Piippo
81da43f922 qtmultimedia: update revision
Fix build without opengl.

Change-Id: I8b09d82b86b116b8f67e2dc03bd5f7a276fe9059
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-05-18 11:15:17 +03:00
Samuli Piippo
3a62aa21eb qtcharts: update revision
Fixes build without opengl.

Change-Id: Ic6e893fcca5d66c4c25e8c42311ac876ae8273ee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-05-17 09:01:41 +03:00
Samuli Piippo
e0413e41f1 qtmultimedia: disable vivante plugin
The vivante videonode plugin doesn't compile.

Change-Id: I03ebb6021c91b39eeb1104e7545f238c263b236f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-05-12 15:35:02 +03:00
Samuli Piippo
5462fb39c5 qtconnectivity: include sdpscanner to packagegroup
Qt Bluetooth uses a separate executable, sdpscanner, to integrate
with the BlueZ. Include it into the packagroup if bluetooth is
enabled in the DISTRO_FEATUREs.

Change-Id: Ib14fd60d52c002b8ac283217316d902690373359
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-05-12 08:03:13 +03:00
Samuli Piippo
7ec2742246 Enable ptest support for Qt modules
Build tests for ptest in Qt modules. The default build using
PACKAGECONFIG[tests] doesn't work as the installation of tests is
not working correctly. Instead build the tests separately after
the module has been built and installed.

The tests have dependencies to the data and source files which
need to be packaged with the test binaries.

Change-Id: Ibae55a29135267ce96949aa0c15ad7e236ef2512
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-05-12 08:03:07 +03:00
Samuli Piippo
5ce04254ae qtbase: use bfd linker
Configure Qt always to use bdf linker instead of gold linker, which
has issues with some of code in Qt:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842304

Change-Id: I743e4b4ed882f936af47a7f5a3b13f24b0635426
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
2021-05-12 08:02:50 +03:00
Samuli Piippo
c7108eb5a1 qtbase: move all tools to same package
Some of the tools were moved to libexec, package all of those
into the tools package.

Pick-to: 6.1
Change-Id: Ib8d3dbe1821591101febf0ecedc526edc9b56366
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-05-12 08:02:43 +03:00
Samuli Piippo
f94e2908f1 qt6: update submodules
Latest from dev branches.

Assimp is used from upstream/master branch which contains
fix for missing exception header.

Change-Id: I21ef3f62caed80391fbaa301bf972e659a6fa6fc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-05-12 08:02:33 +03:00
Samuli Piippo
6bc012655f qt6: update submodules
Latest from dev branches.

Change-Id: Iceda025a694ba3b179ce9881b194c47d43a1f529
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-04-23 09:23:48 +03:00
Samuli Piippo
b4b672964c Don't append BBCLASSEXTENDs
Be consistend about BBCLASSEXTENDS, there is no need to append them.

Change-Id: I3b5838b23a6141b96fe7bdb128071335ec27a315
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-04-21 08:18:25 +03:00
Samuli Piippo
8dc000f55e qt5compat: BBCLASSEXTEND to native and nativesdk
Pick-to: 6.1 6.0
Change-Id: I73f9ba30cfce8b6d65aaf57087788aa400c54264
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-04-21 08:18:18 +03:00
Samuli Piippo
89475754d3 Add recipe for Qt Multimedia
Qt Multimedia is still in WIP status.

Task-number: QTBUG-91411
Change-Id: I8e06e44ef58e260fb8cf6dd25f694cb405018d2a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-04-08 13:05:32 +03:00
Samuli Piippo
4325285fb9 qtquick3d/qt3d: fix assimp handling
Use correct branch for assimp on QtQuick3D and Qt3D and include
the assimp lisense file. Fix system-assimp PACKAGECONFIG, but
don't enable it since the the default assimp available in oe-core
is too old for QtQuick3D.

Pick-to: 6.1
Change-Id: Iee959777b8f192a6512b2568ba7f6fa94a120535
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-04-08 09:09:06 +03:00
Samuli Piippo
2b362f5273 qt6: update submodules
Change-Id: Ia914ed3d0527ea1cb681048067919adf7c3fb8ac
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-04-07 16:40:39 +03:00
Samuli Piippo
c9da0eaec3 Update CI build
Hardknott Yocto version is now available, add it to the CI builds.
Only dev branch remains tested against Yocto master.

Change-Id: Iec1227d616ff95b8406217f4d18ebfba80a0300a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-04-07 13:34:18 +02:00
Samuli Piippo
dfa089d0dc qtbase: don't force QT_HOST_PATH for SDK
Set QT_HOST_PATH to the SDK path only if it has not already been set.
This allows using the SDK to rebuild Qt using different host Qt.

Task-number: QTBUG-92052
Pick-to: 6.1 6.0
Change-Id: I39991ef6d95d0f9e21590dc8dccb39ec8107d8c7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-04-07 08:15:28 +03:00
Samuli Piippo
9923954c23 qtcharts: update revision
... to allow build without opengl and to make qtdeclarative dependency
optional using PACKAGECONFIG.

Pick-to: 6.1
Change-Id: Idc8e73e38c9eb10f2f18c547530654a7c6e3f19f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-26 09:54:42 +02:00
Samuli Piippo
2eecf07106 coin: enable examples for all Qt modules
Pick-to: 6.1
Change-Id: I9ea4d3a639c53040eb412f1f90aa91560f6a9879
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-25 09:16:12 +02:00
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