Commit Graph

966 Commits

Author SHA1 Message Date
Mikko Gronoff
59024d081c qt6: update submodules
* Update to proposed Qt 6.0.0 beta1 content
* In qt3d & qtquick3d recipes, revert assimp submodule
  to official beta1 revision
* cleanup unused patches

Task-number: QTBUG-86349
Change-Id: Ib8d290cd9f6689e3863a0247d74ce5f19d7cec2c
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2020-10-14 08:58:13 +03:00
Samuli Piippo
10bd7c69eb qt6: update submodules
Change-Id: I52b6e3990b4f7d493316b51b6d4d7722d9be7280
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-10-12 10:52:52 +03:00
Samuli Piippo
858c5c397d qtbase: bring back oe-device-extra.pri
In case there is need to add additional configs for qmake, the
oe-device-extra.pri can again be used to add these.

Change-Id: I5df69cdcbbf65821981339665a2e9d99e25a0677
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-10-08 09:13:49 +03:00
Mikko Gronoff
6cd56e9d75 qt6: update submodules
Change-Id: Ia2b6d4870e71fb98c0e3a274900db8e9a1a63d5c
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-10-06 09:24:39 +03:00
Samuli Piippo
e754f28566 qtbase: support eglfs_viv plugin for imx6
Add patches that enabled eglfs_viv integration plugin build
for imx6 boards, and that will set it as the default plugin
without need to specify it at runtime.

Change-Id: I444c24c649d61cd93de010f231ebbb0ab15f445a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-10-05 11:08:14 +03:00
Mikko Gronoff
ff154cda1e qt6: update submodules
Change-Id: I891ef5357339a023c68f372f4b98bc9ec7243d05
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2020-10-01 09:19:04 +03:00
Samuli Piippo
e400d8ff3c Use QT_HOST_PATH only with target and nativesdk builds
Native build cannot use QT_HOST_PATH as it doens't exists yet.

Change-Id: I4ca81b15b13e1fe422f04b334eeab058e7db0c9d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-30 14:46:46 +03:00
Samuli Piippo
9e69b0f3b0 sdk: set default install prefix
Set default install prefix to match the Qt's prefix path. This makes
deployment on Windows work as otherwise the default path would be some
Windows path instead of target path in the device.

Use CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT same as cmake so that
projects can still set their default path if not forced from command line.

Change-Id: If2d703a3f46abaeaa015df4e9385313498ec9d17
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-09-24 10:35:44 +00:00
Samuli Piippo
ab7a701fec qtwayland: support building for mingw
Remove restrictions from qtwayland so the qtwaylandscanner can be
built for mingw nativesdk target. Add wayland to DISTRO_FEATURES
in CI builds so that the mingw build is also tested.

Change-Id: If46f1310318fbfc59f141dd2895b7b2ff708223c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-22 14:24:09 +03:00
Samuli Piippo
06be05c249 coin: add ci build for mingw
Also move to using HEAD of dunfell branch for all
upstream meta layers.

Task-number: QTBUG-86431
Change-Id: I62ba53237fb763ba2676f8c9d030ce5d6b157989
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
2020-09-22 07:31:57 +03:00
Samuli Piippo
08d101c2eb Add support for mingw32 build
Add support for building nativesdk components with meta-mingw layer
for Windows SDK. Skip some of the nativesdk tools as they cannot be built.

Qt6Toolchain.cmake can be used with SDKPATH environment variable set
to the SDK installation path using forward slashes as path separators.
It depends on the nativesdk-cmake which cannot be built until upstream
patches to meta-mingw are approved.

Task-number: QTBUG-86431
Change-Id: I482f85f10461e77bb183cf763d6ef531b45e016a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-22 04:31:51 +00:00
Samuli Piippo
18036b01dd qtbase: use configured path for mkspecs
Change-Id: I327236353cfadc171d7a386b8a14cdd4ec85b5c6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-14 10:23:26 +03:00
Samuli Piippo
a61f2621ca qtbase: keep all the files
These are not very useful, but there are more of those.

Change-Id: I8927c256837f70901d6ee4fca491f12f54ff17b0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-14 10:23:19 +03:00
Samuli Piippo
1bfc6219e9 remove perl fix
This has now been merged to oe-core.

Change-Id: Ie831df506636187d1ea0d11585b14dc1f0daa6e5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-10 14:31:19 +03:00
Samuli Piippo
a4b2a6890e qtquick3d: no need for feature_check anymore
Change-Id: Ie31de3168b531f593cdbc8a44727df5924260b26
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-10 13:26:39 +03:00
Samuli Piippo
ca292fa939 qtbase: check PACKAGECONFIG for default platform
Use PACKAGECONFIG to check if eglfs or linuxfb should be
the default platform plugin.

Change-Id: Ifb6149e805b2bcce1a892337b0eef2f517666b0a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-07 16:23:43 +03:00
Samuli Piippo
f02fda42eb Update modules
Change-Id: Ifdd2095ebf7d64ab530258e989a85671de058ab9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-07 14:58:14 +03:00
Samuli Piippo
a37fb5e1a0 Update modules
Change-Id: I05b4cf49d8da6d65d263f3e2e3f3d42ff1a0f0ec
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-04 09:38:08 +03:00
Samuli Piippo
a43c7553b9 Coin: add CI build instructions
CI build has 4 targets:
 - qemuarm64 w/o x11
 - qemux86 w/o x11
 - qemuarm w/ x11
 - qemux86-64 w/ x11

and it builds all recipes found in the layer.

Change-Id: I1b4861cb776c67710b16fcb6cac150f092925440
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-04 08:38:58 +03:00
Samuli Piippo
1c03571b0b qtbase: fix typo in gtk PACKAGECONFIG
Change-Id: Id11b13ca25498681d8723297be8d267691731b10
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-04 08:38:51 +03:00
Samuli Piippo
282bc60f87 Remove modules not supported in Qt 6.0 release
Remove modules that are not supported in Qt 6.0 release and do not get
proper updates for building against latest QtBase.

Change-Id: I0d4905bed0caad6ae6c7276a1804e97d35a51833
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-04 08:38:43 +03:00
Samuli Piippo
5d294b331d Some recipes require opengl
Qt3d, QtQuick3d and QtGraphicalEffects can be used only if
we have opengl. Limit recipes and include them on packagegroups
only when possible.
2020-08-26 09:06:44 +03:00
Samuli Piippo
69b4e15f1c sdk: tell qmake to sysrootify all paths
Qmake is no longer using sysroot by default, add config in qt.conf
to make it happen when using from nativesdk.
2020-08-25 10:05:30 +03:00
Samuli Piippo
67d1c04d53 qtbase: set default platform plugin
Set the default platform plugin to be used, defaults based on
whether x11 and opengl are used.
2020-08-24 13:04:29 +03:00
Samuli Piippo
8a9c74e14c qtbase: use correct option to disable RPATH 2020-08-20 09:49:50 +03:00
Samuli Piippo
bb45f932c8 Add qtopcua 2020-08-14 15:08:47 +03:00
Samuli Piippo
6bc33622f8 Update modules 2020-08-14 15:08:47 +03:00
Samuli Piippo
98a375ab0b x11extras: remove recipe
X11Extras won't be supported as separate component in Qt6
2020-08-04 16:33:38 +03:00
Samuli Piippo
44c6f04c7f update submodules 2020-08-04 16:25:32 +03:00
Samuli Piippo
e98deb5dcc Update modules
The qgltf tool was removed from Qt3D, no need to build native or
nativesdk anymore.
2020-06-30 10:07:22 +03:00
Samuli Piippo
349c53ee30 remove qtknx recipes
The module will not be part of Qt6
2020-06-29 10:08:58 +03:00
Samuli Piippo
0a7a810787 Add class for updating SRCREVs
The class can be used for updating the SRCREVs in the recipes
to the latest revision available. It's inherited by default in
all the Qt module recipes. The update can be done for all recipes
with command
  bitbake world -c srcrev_update
2020-06-29 10:03:09 +03:00
Samuli Piippo
389fdcbd69 Add README 2020-06-25 10:36:42 +03:00
Samuli Piippo
e77ce2558c Remove qtquickcompiler PACKAGECONFIG option
This does not exists yet
2020-06-25 10:35:40 +03:00
Samuli Piippo
c8b6dfd5e7 Use qt.conf to sysrootify the qmake builds
Instead of patching the qtbase sources, use the qt.conf to override
the sysrootify option for qmake.
2020-06-23 10:43:29 +03:00
Samuli Piippo
0fc59960fa qt3d: add dependency to qtshadertools 2020-06-16 09:38:29 +03:00
Samuli Piippo
99735d1bf6 Add qtwayland back to toolchain 2020-06-15 16:22:37 +03:00
Samuli Piippo
5f26a34330 qt3d: add recipe 2020-06-15 16:22:36 +03:00
Samuli Piippo
9e014ef321 Update modules 2020-06-15 16:22:20 +03:00
Samuli Piippo
3d5ef3c25c Add qtquicktimeline 2020-06-10 12:06:52 +03:00
Samuli Piippo
875974c6c6 Use qmake for modules not supporting cmake
Update all modules and include ones that can be built into the SDK.
2020-06-09 17:32:25 +03:00
Samuli Piippo
9429bcca11 qtbase: remove use of oe-device-extra.pri
No longer needed as Qt builds are done with cmake.
Also remove OE_QMAKE_QT_CONFIG which is no longer used.
2020-06-09 17:32:25 +03:00
Samuli Piippo
49f28e269e qtbase: remove QT_SOURCE_TREE setting
Other module builds will try to use QT_SOURCE_TREE which points to the
qtbase build area. Builds can then break if qtbase build area is
cleaned.
2020-06-09 17:32:25 +03:00
Samuli Piippo
f3d3674837 Update modules 2020-06-09 17:32:25 +03:00
Samuli Piippo
4e5a282793 sdk: remove qtwayland
Not compatible with current qtbase
2020-06-09 17:32:25 +03:00
Samuli Piippo
e6d7750002 layer: remove unsupported layers
Starting with zeus cmake is recent enough.
2020-06-09 15:02:00 +03:00
Samuli Piippo
164fd6ff40 Update commercial license 2020-06-09 15:01:40 +03:00
Samuli Piippo
6b57024c9a qmake: patch prl and pri files
Replace host paths with qmake built-in properties
2020-06-09 15:00:59 +03:00
Samuli Piippo
3dedf1586e sdk: add build tools 2020-06-05 13:35:36 +03:00
Samuli Piippo
11e71c0f61 qtmqtt: update modules
Switch to cmake build
2020-06-05 13:33:50 +03:00