Commit Graph

23 Commits

Author SHA1 Message Date
Samuli Piippo
10a22f83f3 qt6: update licenses
Qt sources were changed to use SPDX license identifiers, update
LICENSE strings to match the used identifiers. At this time,
qtbase and qttools were converted, rest of the modules will follow.

Change-Id: Ic0a43438f2bdcc82941aed34a3e034bb3c6db67a
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-06-03 09:06:56 +00:00
Samuli Piippo
a4002f18a9 qtmultimedia: enable pulseuadio backend
QtMultimedia crashes without audio backend and pulseaudio
backend now works together with gstreamer plugin.

Change-Id: Iad97ebb3170c6ebec9aa8eea1faf4972a88cd49f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-18 10:22:58 +00:00
Martin Jansa
d26bf4af06 meta: update license names
* openembedded-core/scripts/contrib/convert-spdx-licenses.py .
  ...
  All files processed with version 0.01

Pick-to: 6.3 6.2
Change-Id: Ife671a597eea9e1567d2b37d0aea25cc0b8e9012
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-06 11:12:13 +00:00
Samuli Piippo
ba348447dc qtmultimedia: update PACKAGECONFIGs
QtMultimedia is again using plugins for different backends
and they can be enabled at the same time. Add PACKAGECONFIGs
for ffmpeg and vaapi backends. Remove vivante workaround,
it's no longer needed.

Default still to gstreamer only. The ffmpeg integration is done
to v4.4 and does not work with later versions.

Change-Id: Ica8f46ceca0ef61caa300b3e23269de062575efc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-03 18:53:02 +00:00
Samuli Piippo
154c396c57 licenses: be explicit about BSD license
All references here to BSD actually mean BSD-3-Clause.

Pick-to: 6.3 6.2
Change-Id: Iec43070c5245d053259c215311f238989741c85d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-10 09:26:57 +02:00
Samuli Piippo
cbac31ee90 qt6-cmake: inherit pkgconfig
Static build needs pkgconfig for every Qt module. Include it already
in qt6-cmake class instead of in each individual module.

Pick-to: 6.3 6.2
Change-Id: I065382ee49d6b40b76ede9e632d17221451de8d1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-02-01 06:00:46 +00:00
Samuli Piippo
a6e5979a1b qtmultimedia: add dependency to qtsvg for examples
Some examples have dependency to Qt SVG.

Pick-to: 6.3 6.2
Change-Id: I9084c4a4e321710aa60a6e5df351b37c3c1518cb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-18 17:27:07 +02:00
Samuli Piippo
c3389d194c Add qtdeclarative-native dependency where needed
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.

Pick-to: 6.2
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>
2021-10-14 09:27:18 +00:00
Martin Jansa
d718354d16 qtmultimedia: inherit pkgconfig
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.

Pick-to: 6.2
Change-Id: Ic3f674bcfd7dbbc6f149a1ae94cd66613a948050
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-01 05:59:53 +00:00
Samuli Piippo
f61b87ae78 Move all Qt module SRCREVs into one file
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.

Pick-to: 6.2
Change-Id: I711e7867dba3b066d363ca40f78e7b4aa740a69c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-15 07:53:53 +03:00
Samuli Piippo
c592e2d63e qt6: update submodules
Latest revisions from dev.

Change-Id: Ia9b1bed92a4d6d5ffad5293bece76278e9d14a8c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-14 11:46:27 +03:00
Qt Submodule Update Bot
3c758b95f9 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I92f253edbbc735d2a8a3988fe098805609751ecb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-09-09 20:33:47 +00:00
Qt Submodule Update Bot
b8559ccc5e Update submodule refs on 'dev in meta-qt6'
Change-Id: I8aaec3cc12e3f73bff5cef14c89cd6e6f151950d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-09-06 22:41:24 +00:00
Qt Submodule Update Bot
36874e37df Update submodule refs on 'dev in meta-qt6'
Change-Id: I1368c54317e3cb1f30ff84f8d5883e1453a2afc9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-09-06 08:57:01 +00:00
Samuli Piippo
e2d514aae2 qt6: update submodules
Latest revision from dev branches.

Change-Id: Ibaf1f00b96a441a5284e32863683212235b9ec48
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-02 08:47:38 +03:00
Samuli Piippo
4c5510f0d6 qt6: update submodules
Latest from dev branch.
Disable rpaths from ptest to fix QA Issue: package contains bad RPATH.

Change-Id: I3f29de8a9200657d9ac2eb87d4288fde09b49469
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-06-29 15:41:23 +00:00
Samuli Piippo
156b085f49 qt6: update submodules
Latest from dev that will become 6.3.0

Change-Id: Ia75b4885a91a1bd97504de149558a048749a14e5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-06-16 15:30:36 +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
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
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
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
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
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