Go to file
Samuli Piippo 284bfb1174 Conversion script to use new module names
meta-qt6 is planned to be as much as possible a drop-in replacement
for meta-qt5 layer. All the Qt module recipes use the same names as
the ones in meta-qt5. This means that both meta-qt5 and meta-qt6
layers can not be used at the same and adding both Qt5 and Qt6 to
the same image is not possible.

This script does a brute force rename for all the module names to make
it possible to use both layers at the same time. The new module names
get '6' postfix e.g. qtbase6, qtdeclarative6, qtdeclarative6-native.

Since both Qt versions deploy files with same names, the install paths
for either meta-qt5 or meta-qt6 must be changed.

For meta-qt5:

  QT_DIR_NAME  = "/qt5"

For meta-qt6:

  QT6_INSTALL_BINDIR:append = "/qt6"
  QT6_INSTALL_DATADIR:append = "/qt6"
  QT6_INSTALL_PLUGINSDIR:append = "/qt6"
  QT6_INSTALL_QMLDIR:append = "/qt6"
  QT6_INSTALL_TRANSLATIONSDIR:append = "/qt6"
  EXTRANATIVEPATH:append = "/qt6"

configured in a suitable global configuration file.

Change-Id: I141e3b7a2d6c7df8795e67311e06e7a0465de91a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-28 09:43:23 +00:00
classes srcrev_update: use renamed variable 2023-04-19 10:20:24 +00:00
coin coin: Add workaround for static build in CI 2023-08-22 13:03:40 +00:00
conf spirv-tools: remove bbappend 2023-08-22 13:03:36 +00:00
dynamic-layers/meta-python/recipes-devtools/python spirv-tools: remove bbappend 2023-08-22 13:03:36 +00:00
licenses qt6: update licenses 2022-06-03 09:06:56 +00:00
recipes-core Support SDK workflow inside a Yocto build 2023-01-11 14:45:27 +00:00
recipes-qt qtwebengine: fix build without DRI 2023-08-25 18:09:49 +00:00
scripts Conversion script to use new module names 2023-08-28 09:43:23 +00:00
COPYING.MIT initial commit 2020-01-24 11:54:52 +02:00
README.md coin: remove langdale from CI tests 2023-08-22 13:03:22 +00:00

Qt6 OpenEmbedded/Yocto Project layer

This layer depends on:

URI: https://git.openembedded.org/openembedded-core/

and optionally:

URI: https://git.openembedded.org/meta-openembedded/

Yocto version support

The branching of meta-qt6 layer follows Qt branching scheme, that is dev for the development branch, 6.x for minor stabilization branches, 6.x.y for the release branches and lts-6.x.y for commercial LTS releases.

Each Qt release is tagged either as v6.x.y or v6.x.y-lts

Following table shows the Yocto branches which are used to test each Qt version (x) and any additional Yocto releases that are stated in the LAYERSERIES_COMPAT (c).

Yocto \ Qt dev 6.6 6.5 6.4 6.3 6.2
master x x x
mickledore x x x x
langdale c c c x
kirkstone x x x x x x
honister c c c x x
hardknott c c c c c
gatesgarth c c c c c
dunfell x x x x x

Commercial Qt

Qt is dual-licensed under commercial and open source licenses. The license can be selected using the QT_EDITION variable. commercial and opensource are valid values. The default value is opensource.

For commercial Qt users, the layer provides additional support with LTS (Long Term Support) releases for selected Qt versions and additional Qt modules licensed as commercial-only.

The LTS releases are available in branches named lts-6.x. The source code for the LTS releases and the commercial Qt modules are only available for commercial Qt license holders. They can only be built and used if you have a commercial Qt license and you have set up SSH access to Qt Gerrit (see links below).

The commercial Qt modules are included in the build if the QT_COMMERCIAL_MODULES variable is set to 1 and you are using a commercial edition of Qt.

QtWebEngine

QtWebEngine needs at least CMake 3.19, which is available starting from Hardknott. For this reason QtWebEngine is not tested on older releases.

Contributing

To contribute to this layer you should submit the patches for review using Qt Gerrit.

More information about Qt Gerrit and how to use it:

Layer maintainers