Commit Graph

108 Commits

Author SHA1 Message Date
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
Samuli Piippo
3181026192 qtdeclarative: remove workaround
example installation is now fixed
2020-06-04 15:39:42 +03:00
Samuli Piippo
3d8922e368 Update modules
The cross-complilation support for tools was merged, remove obsolete
patch. Regenerate cmake files for modules affected by it.
2020-06-04 12:55:16 +03:00
Samuli Piippo
be8a586c85 Remove qttranslation dependency from recipes
Does not work as expected and cannot be used for qtbase.
2020-06-03 07:36:57 +03:00
Samuli Piippo
a6f0dd9305 Update modules
Remove merged patches and remove unneeded patching from qtbase.
2020-05-25 08:37:02 +03:00
Samuli Piippo
bd58b0e6cd perl: expand native sysroot paths
Replace use of environment variable to the native sysroot with
full paths that are relocated during SDK installation. This allows
use of perl without sourcing to setup-environment script.
2020-05-19 13:28:46 +03:00
Samuli Piippo
3f816f37c0 Use qmake for modules not supporting cmake
Switch to using qmake until the modules have cmake integration.
2020-05-19 09:50:09 +03:00
Samuli Piippo
15d42fc22c Remove obsolete install fix for qmake builds
With recipe-sysroot now used, the concurrent installation
cannot occur and the install fix is not needed.
2020-05-19 09:48:58 +03:00
Samuli Piippo
e56547ecb5 Update modules 2020-05-18 13:36:30 +03:00