Commit Graph

921 Commits

Author SHA1 Message Date
Andreas Müller
fb4ef4dd7b qtwayland: workaround upstream bug: install missing headers manually
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-02-14 17:42:31 +00:00
Martin Jansa
201fcf27cf qt5-plugin-generic-vboxtouch: fix segfault
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-12-20 00:57:48 +00:00
Martin Jansa
5b35f89219 qtwebengine: refresh .patch files, meta-qt5/qt* repos and their tags in recipes
* in preparation for rebase on 5.12 #136

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-12-20 00:57:00 +00:00
Martin Jansa
808d65c129 qt5: refresh .patch files, meta-qt5/qt* repos and their tags in recipes
* in preparation for rebase on 5.12 #136

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-12-20 00:56:48 +00:00
Andreas Oberritter
a55a9936e2 libconnman-qt5: Don't harcode libdir to fix multilib build
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-12-20 00:55:36 +00:00
Khem Raj
c483f15ee6 qtbase: Fix build with gcc9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-20 00:55:36 +00:00
Khem Raj
b725e6de45 qtbase: Consider clang when computing QMAKE_CXX.COMPILER_MACROS
Helps in compiling qtapps with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-12-20 00:55:36 +00:00
Khem Raj
7016481c80 qt5-creator: Enable clang plugin support when clang is used as toolchain
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-20 00:55:36 +00:00
Khem Raj
ba03a767a4 qtwebkit: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-20 00:55:36 +00:00
Khem Raj
7223816fe8 maliit: Disable tests
They do not build reliably, especially when using clang

Fixes
| ../../../recipe-sysroot/usr/include/QtTest/qtestcase.h:340:34: error:
invalid operands to binary expression ('const MImServerCommonOptions'
and 'const MImServerCommonOptions')
|         return compare_helper(t1 == t2, "Compared values are not the same",
|                               ~~ ^  ~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-20 00:55:36 +00:00
Khem Raj
4c3d66f0b8 qtbase: Drop QMAKE_WAYLAND_SCANNER from clang mkspecs file
This is to complete the fix that was sent last year to remove
QMAKE_WAYLAND_SCANNER

https://patchwork.openembedded.org/patch/145672/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-20 00:55:36 +00:00
Khem Raj
f2d7b948c1 qtconnectivity: Ignore -Waddress-of-temporary when using clang
Helps in making bluez detection succeed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-20 00:55:36 +00:00
Khem Raj
b8fade938e qtbase: Fix build with clang/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-20 00:55:36 +00:00
Mikko Gronoff
0cdf727668 qt5: upgrade to 5.11.3
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
2018-12-20 00:55:36 +00:00
Kai Ruhnau
9fc65c05f3 qtwebengine: Configure Ninja to honor PARALLEL_MAKE
Fixes #137

Signed-off-by: Kai Ruhnau <kai.ruhnau@target-sg.com>
2018-12-11 10:06:51 -02:00
Seokha Ko
010a29e0ab qmllive: add new recipe
qmlLive is a live reloader environment for rapid UI development

Change-Id: Icc29a45ed488a95257625122107b83cbe746c755
Signed-off-by: Seokha Ko <sukdo399@daum.net>
2018-12-07 06:37:33 -02:00
Khem Raj
f22750291b python-pyqt5: MAKEFLAGS pass -j 1 via MAKEFLAGS during do_install
The fix to reset PARALLEL_MAKEINST isnt enough here because qmake
bbclass creates EXTRA_OEMAKE where it passes the -jX via MAKEFLAGS
its better to set MAKEFLAGS in do_install to undo that effect

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-29 07:16:36 -02:00
Scott Ellis
fe453ec4a2 packagegroup-qt5-toolchain-target: Skip qtwebkit if opengl not found
Resolves #129

Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
2018-11-26 09:49:22 -02:00
Khem Raj
18f82a8b32 python-pyqt5: Disable parallel install
Avoid certain race during do_install

|   File
"/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/python-pyqt5/5.11.3-r0/PyQt5_gpl-5.11.3/mk_distinfo.py",
line 108, in <module>
|     fn_f = open(fn, 'rb')
| FileNotFoundError: [Errno 2] No such file or directory:
'/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/python-pyqt5/5.11.3-r0/image//usr/lib/python2.7/site-packages/PyQt5/QtCore.so'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-20 16:09:52 +00:00
Philip Balister
fd1f0f4731 python-pyqt5: Update to 5.11.3 and add python3 recipe.
Signed-off-by: Philip Balister <philip@opensdr.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-11-13 11:09:05 +00:00
Christian Haettich
3fa199310a qtbase-native: disable postgresql support
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-11-13 11:08:34 +00:00
Martin Jansa
0edbe1ba0d qtbase: refresh patches and update tags on meta-qt5
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-11-13 10:39:32 +00:00
Max Krummenacher
4ed4385658 qtbase: don't leak absolut path to recipe specific sysroot
If the qtbase recipe-sysroot no longer exists (e.g. because of rm_work)
a user of Qt5GuiConfigExtras.cmake will experience the following error:

| ERROR: Task (.../meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_configure) failed with exit code '1'

| CMake Error in Source/WebCore/CMakeLists.txt:
|   Imported target "Qt5::Gui_EGL" includes non-existent path
|
|     ".../build/tmp-glibc/work/armv7at2hf-neon-imx-angstrom-linux-gnueabi/qtbase/5.11.2+gitAUTOINC+49efea26a5-r0/recipe-sysroot/usr/include/libdrm"

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-11-13 10:33:15 +00:00
Samuli Piippo
b3502fbbc0 qt5: Disable ltcg for host_build
debug-prefix-map does not work correctly for static libraries
when using ltcg, and since host_build compilations link agaist
the libQt5Bootstrap.a library, it breaks source file packaging
into debug packages.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2018-11-13 10:31:42 +00:00
Martin Jansa
5832bf2747 qtbase: don't use thumb for armv[45]
* it fails when building with gcc8

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-10-15 15:21:43 +00:00
Khem Raj
0c7eb257c3 layer.conf: Add thud to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-30 16:02:19 +00:00
Khem Raj
4e6c4721e8 qt5-creator: Check before editing translation Makefile
On some arches translations may not be enabled so we can not assume
that this makefile will always exist

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-30 16:02:19 +00:00
Khem Raj
15a8c254c2 qt5-creator: Pick native tools from native sysroot e.g. lrelease etc.
qtcreator's build system is not as creative when it comes to cross
building, it assumes to find some of tools used during translations to
be installed in bindir where its building on. In other words native
build is assumed. This patch helps the build system to locate the right
binaries during cross compilation

Fix install as we do not need chrpath'ing anymore

Fix cross-builds for non x86 systems

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-30 16:02:19 +00:00
Martin Jansa
f11e9420e9 qt5-creator: fix build with QMAKE_AR
* now it builds OK at least for qemux86-64, but then do_install fails:

| /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/recipe-sysroot-native/usr/bin/qmake -install qinstall /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/build/share/doc/qtcreator/qtcreator.qch /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/image/usr/share/doc/qtcreator/qtcreator.qch
| Error copying /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/build/share/doc/qtcreator/qtcreator.qch to /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/image/usr/share/doc/qtcreator/qtcreator.qch: Cannot open /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/build/share/doc/qtcreator/qtcreator.qch for input
| Makefile:492: recipe for target 'install_inst_qch_docs' failed

  http://errors.yoctoproject.org/Errors/Build/68948/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-27 14:39:39 +00:00
Martin Jansa
0cf5966d39 qt5-creator: upgrade to 4.7.1+
botan was replaced with botan2 in:
http://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?h=4.7&id=a44fe2e4f03fc18ce9c3d050f71fe369916259b8
lets see if we still need those fixes for botan

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-26 20:56:01 +00:00
Martin Jansa
4fb1e6084c qt: package all files in ${PN}-examples
* including static and dev files
* and disable QA warning about that:
  ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA Issue: non -staticdev package contains static .a library: qtbase-examples path '/work/core2-64-oe-linux/qtbase/5.11.2+gitAUTOINC+49efea26a5-r0/packages-split/qtbase-examples/usr/share/examples/widgets/tools/plugandpaint/plugins/libpnp_basictools.a' [staticdev]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-26 19:12:10 +00:00
Martin Jansa
2109ff6e37 qt: use single -dev and -staticdev package
* don't create separate examples-dev and examples-staticdev for all modules

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-26 19:12:10 +00:00
Martin Jansa
5c5b7e8721 qt5-creator: refresh .patch files and push them to meta-qt5 fork
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-25 23:34:28 +00:00
Khem Raj
333437ca8d qt5-creator: Fix build due to missing lrelease
Fixes

make[2]:
/mnt/a/yoe/build/tmp/work/i586-yoe-linux-musl/qt5-creator/4.5.1-r0/recipe-sysroot/usr/bin/lrelease:
Command not found
make[2]: *** [Makefile:420: qtcreator_cs.qm] Error 127

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25 23:34:28 +00:00
Khem Raj
3ad2acb0e7 qtchooser: Update to latest git
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-25 23:34:28 +00:00
Khem Raj
1ed9bcb175 qtwebengine: Add patches to fix breakpad in new webengine release on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25 23:34:28 +00:00
Khem Raj
24d6fc29ab qtbase: Do not use cross_compile check
This check is not accepted by qmake resulting in subsequent failures
in qtwebengine

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-25 23:12:17 +00:00
Khem Raj
d0cd7a7a70 qtbase: Fix errors due to -isystem
empty out QMAKE_CFLAGS_ISYSTEM this will ensure that -isystem is not
used instead it will use -I to include internal QT headers

Dont hardcode QMAKE_DEFAULT_INCDIRS when cross compile

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-25 09:50:40 +00:00
Lei Maohui
81239229df qtbase: Fix build error for armv8BE multilib.
* MJ: modified to apply correctly and to be included in native and
  nativesdk builds as the comment above SRC_URI says.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-25 09:34:49 +00:00
Martin Jansa
f9e80edff0 qt5: update to latest revision in 5.11 branch
* drop nobranch=1 again
* update the branches and tags on meta-qt5/qt* forks and the tag name
  in recipes
* use latest revision in 5.11 branch instead of 5.11.2 which might be
  removed again

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-25 09:34:49 +00:00
Samuli Piippo
3e7da25564 qt5: update to Qt 5.11.2
Update The-Qt-Company-Commercial license to the actual commercial
license which also replaces preview license in qtbase. Remove old
licenses that are no longer used in any module.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2018-09-25 09:34:49 +00:00
Martin Jansa
cd0da4e483 libqofono: include /qt5/mkspecs in ${PN}-dev
* libqofono doesn't respect the install variables and mkspecs end in
  ${datadir}/qt5/mkspecs even when QT_DIR_NAME is empty and
  OE_QMAKE_PATH_ARCHDATA is just ${datadir}/mkspecs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-25 09:22:19 +00:00
Khem Raj
db45ea6ad8 qtwebkit-examples: Fix build with QT 5.11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25 09:22:19 +00:00
Khem Raj
d498eb6075 qtwebkit: Use relative paths for pri files when cross compile
This helps in compiling examples etc. without hardcoded headers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25 09:22:19 +00:00
Martin Jansa
b716195f60 qmake5_paths: change the default QT_DIR_NAME to be empty
* there aren't many people using qt4 and qt5 in the same
  image anymore, it's time to stop using this work around
  and to follow default packaging rules

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-25 09:22:18 +00:00
Martin Jansa
3224b028e7 nativesdk-qtbase: use default PACKAGES
* don't append -tools to all packages
* fixes automatic packaging of .debug files in ${PN}-dbg

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-20 13:16:22 +00:00
Martin Jansa
66c49f8a1d qt5-creator: strip few more useless rpaths
* fixes:
ERROR: qt5-creator-4.5.1-r0 do_package_qa: QA Issue:
qt5-creator: /work/core2-64-oe-linux/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/plugins/qmldesigner/libcomponentsplugin.so contains probably-redundant RPATH /usr/lib
qt5-creator: /work/core2-64-oe-linux/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/plugins/qmldesigner/libqtquickplugin.so contains probably-redundant RPATH /usr/lib
[useless-rpaths]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-19 22:47:16 +00:00
Martin Jansa
03b4c7b669 qt: remove unnecessary FILES.*-dbg variables for packaging .debug files
* package.bbclass can do it automatically since:
  commit da5ec06814e105451cca11cce76b5c5231110524
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Tue Dec 15 15:38:54 2015 +0000

    package: Add auto package splitting of .debug files

* .debug files for examples were incorrectly picked by qtbase-qmlplugins-dbg
  causing following QE error, because unlike qtbase-examples-dbg we don't
  have libdir in INSANE_SKIP.

  ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA Issue: qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/plugandpaint/plugins/.debug/libpnp_extrafilters.so
  qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/styleplugin/styles/.debug/libsimplestyleplugin.so
  qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/echoplugin/plugins/.debug/libechoplugin.so [libdir]
  ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-19 16:36:36 +00:00
Khem Raj
5164f84bd6 qt3d-runtime: Fix compile errors as seen with mips/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-19 09:55:38 +00:00
Martin Jansa
08aaba003f qt3d-runtime: upgrade to latest revision in 2.0 branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-19 09:55:38 +00:00