935 Commits

Author SHA1 Message Date
Martin Jansa
e6e464c9ed qtbase: add no-opengl to PACKAGECONFIG_GL when opengl isn't in DISTRO_FEATURES
* otherwise building qtbase with default config will fail with:
  ERROR: The OpenGL functionality tests failed!
  You might need to modify the include and library search paths by editing
  QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2]
  in the mkspec for your platform.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-14 18:19:24 +01:00
Martin Jansa
f53015678f qtbase: add accessibility from PACKAGECONFIG_KDE to PACKAGECONFIG_DEFAULT
* the original goal was to keep the default PACKAGECONFIG as minimal
  as possible, but I think it's time to enable this
* most builds probably have this enabled anyway because of other dependencies
* new qtbase also shows a warning when it's disabled:
  WARNING: Accessibility disabled. This configuration of Qt is unsupported.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-14 18:19:10 +01:00
Alistair Francis
cb6f59197f qtbase: Update the PACKAGECONFIG_KDE to enable more
Update PACKAGECONFIG_KDE to ensure that all required packages are
enabled.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-02-14 18:18:35 +01:00
Andreas Müller
1520d5b2b2 qtbase: Fix build with recent oe-core/pseudo on hosts with glibc >= 2.28
Recently pseudo changed to not support reanameeat2 as glibc wrapper [1]. This
causes massive failures at do_install [2] on qtbase.

To work around tell Qt build configuration not to use ranameat2 independent
of glibc version.

Target qtbase does not require this adjustment - there is no pseudo on target.

[1] https://git.openembedded.org/openembedded-core/commit/?id=0fb257121b68f38b40c078150db8f7d0979b7ea5
[2] https://github.com/meta-qt5/meta-qt5/issues/187

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-05-30 12:21:03 +00:00
Martin Jansa
0630018c00 qtwayland: check also that the destination for private headers exists before installing them
* it looks like with 5.12 the QtCompositor headers are actually in QtWaylandCompositor directory
  and ${D}${includedir}/QtCompositor/${SHRT_VER}/QtCompositor/private/ doesn't exist causing
  do_install to fail

$ ls /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwayland/5.12.3+gitAUTOINC+bcdc00bcdc-r0/image/usr/include/QtWaylandCompositor/5.12.3/QtWaylandCompositor/private/
qtwaylandcompositor-config_p.h     qwaylandpointer_p.h                        qwayland-server-wayland.h                     qwaylandxdgdecorationv1_p.h            qwldatadevice_p.h                       wayland-hardware-integration-server-protocol.h
qtwaylandcompositorglobal_p.h      qwaylandqtwindowmanager_p.h                qwayland-server-xdg-decoration-unstable-v1.h  qwaylandxdgshellintegration_p.h        qwldataoffer_p.h                        wayland-ivi-application-server-protocol.h
qwaylandcompositorextension_p.h    qwaylandquickhardwarelayer_p.h             qwayland-server-xdg-shell.h                   qwaylandxdgshell_p.h                   qwldatasource_p.h                       wayland-qt-key-unstable-v1-server-protocol.h
qwaylandcompositor_p.h             qwaylandquickitem_p.h                      qwayland-server-xdg-shell-unstable-v5_p.h     qwaylandxdgshellv5integration_p.h      qwlhardwarelayerintegrationfactory_p.h  wayland-qt-windowmanager-server-protocol.h
qwaylanddestroylistener_p.h        qwaylandquickshellsurfaceitem_p.h          qwayland-server-xdg-shell-unstable-v6.h       qwaylandxdgshellv5_p.h                 qwlhardwarelayerintegration_p.h         wayland-server-buffer-extension-server-protocol.h
qwaylandinputmethodcontrol_p.h     qwaylandseat_p.h                           qwaylandshell_p.h                             qwaylandxdgshellv6integration_p.h      qwlhardwarelayerintegrationplugin_p.h   wayland-text-input-unstable-v2-server-protocol.h
qwaylandiviapplication_p.h         qwayland-server-hardware-integration.h     qwaylandsurface_p.h                           qwaylandxdgshellv6_p.h                 qwlhwintegration_p.h                    wayland-touch-extension-server-protocol.h
qwaylandivisurfaceintegration_p.h  qwayland-server-ivi-application.h          qwaylandtextinputmanager_p.h                  qwlbuffermanager_p.h                   qwlqtkey_p.h                            wayland-wayland-server-protocol.h
qwaylandivisurface_p.h             qwayland-server-qt-key-unstable-v1.h       qwaylandtextinput_p.h                         qwlclientbufferintegrationfactory_p.h  qwlqttouch_p.h                          wayland-xdg-decoration-unstable-v1-server-protocol.h
qwaylandkeyboard_p.h               qwayland-server-qt-windowmanager.h         qwaylandtouch_p.h                             qwlclientbufferintegration_p.h         qwlregion_p.h                           wayland-xdg-shell-server-protocol.h
qwaylandkeymap_p.h                 qwayland-server-server-buffer-extension.h  qwaylandview_p.h                              qwlclientbufferintegrationplugin_p.h   qwlserverbufferintegrationfactory_p.h   wayland-xdg-shell-unstable-v5-server-protocol_p.h
qwaylandoutputmode_p.h             qwayland-server-text-input-unstable-v2.h   qwaylandwlshellintegration_p.h                qwlclientbuffer_p.h                    qwlserverbufferintegration_p.h          wayland-xdg-shell-unstable-v6-server-protocol.h
qwaylandoutput_p.h                 qwayland-server-touch-extension.h          qwaylandwlshell_p.h                           qwldatadevicemanager_p.h               qwlserverbufferintegrationplugin_p.h

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-04-23 08:18:33 +00:00
Martin Jansa
600fefbde1 qtwayland: improve manual header installation
* allow to disable this completely with
  QTWAYLAND_INSTALL_PRIVATE_HEADERS_MANUALLY
  e.g. in case you already have your own bbappend resolving this
  differently
* use SHRT_VER variable and allow to change it in .bbappend
  e.g. in webOS we have different version with different format
  without "+git" and 5.11.3-2 ended in upstream_pv which caused
  do_install to fail because
  ${D}${includedir}/QtWaylandClient/5.11.3-2
  doesn't exist, split the PV by + as well - to cover both schemes
  and allow users to set SHRT_VER to something else if they have
  even weirder PV
* install the QtCompositor headers in the same way as QtWaylandClient
  we have custom compositor and with 5.11 it was failing to build
  because of missing headers, so I had this in .bbappend already
  (I thought it was only our issue, because we were using 5.4 based
  QtWayland with 5.11, but the same happends with 5.6 based one and
  probably newer as well (I don't know what qtwayland version Andreas
  was using when first sending the previous qtwayland patch).
* with 5.4 QtWayland and 5.11, I've updated sync.profile with
  %inject_headers and @private_headers
  built even with this sync.profile change the syncqt.pl in do_install
  doesn't install these 5.4 specific profile headers and qtwayland-webos
  and luna-surfacemanager fail to build.

  This is the diff between:
  recipe-sysroot-native/usr/bin/syncqt.pl -version 4.5.2 -showonly
  with Qt 5.6 and 5.11

  @@ -1,6 +1,5 @@
  -<srcbase> = BUILD/work/qemux86-webos-linux/qtwayland/5.4.2-119-r0/git
  -<bldbase> = BUILD/work/qemux86-webos-linux/qtwayland/5.4.2-119-r0/git
  -<outbase> = BUILD/work/qemux86-webos-linux/qtwayland/5.4.2-119-r0/git
  +<srcbase> = BUILD/work/qemux86-webos-linux/qtwayland/5.4.2-119-r0/git
  +<outbase> = BUILD/work/qemux86-webos-linux/qtwayland/5.4.2-119-r0/git
   pmtrace_qtwaylandclient_provider.h [QtWaylandClient]
   qtwaylandclienttracer.h [QtWaylandClient]
   qwaylandabstractdecoration_p.h [QtWaylandClient]
  @@ -34,34 +33,6 @@
   qwaylandwlshellsurface_p.h [QtWaylandClient]
   qwaylandxdgshell_p.h [QtWaylandClient]
   qwaylandxdgsurface_p.h [QtWaylandClient]
  -qwayland-hardware-integration.h [QtWaylandClient]
  -qwayland-output-extension.h [QtWaylandClient]
  -qwayland-qt-windowmanager.h [QtWaylandClient]
  -qwayland-qtkey-extension.h [QtWaylandClient]
  -qwayland-server-buffer-extension.h [QtWaylandClient]
  -qwayland-sub-surface-extension.h [QtWaylandClient]
  -qwayland-surface-extension.h [QtWaylandClient]
  -qwayland-text.h [QtWaylandClient]
  -qwayland-text-input-unstable-v2.h [QtWaylandClient]
  -qwayland-touch-extension.h [QtWaylandClient]
  -qwayland-wayland.h [QtWaylandClient]
  -qwayland-windowmanager.h [QtWaylandClient]
  -qwayland-xdg-shell-unstable-v6.h [QtWaylandClient]
  -qwayland-xdg-shell.h [QtWaylandClient]
  -wayland-hardware-integration-client-protocol.h [QtWaylandClient]
  -wayland-output-extension-client-protocol.h [QtWaylandClient]
  -wayland-qt-windowmanager-client-protocol.h [QtWaylandClient]
  -wayland-qtkey-extension-client-protocol.h [QtWaylandClient]
  -wayland-server-buffer-extension-client-protocol.h [QtWaylandClient]
  -wayland-sub-surface-extension-client-protocol.h [QtWaylandClient]
  -wayland-surface-extension-client-protocol.h [QtWaylandClient]
  -wayland-text-client-protocol.h [QtWaylandClient]
  -wayland-text-input-unstable-v2-client-protocol.h [QtWaylandClient]
  -wayland-touch-extension-client-protocol.h [QtWaylandClient]
  -wayland-wayland-client-protocol.h [QtWaylandClient]
  -wayland-windowmanager-client-protocol.h [QtWaylandClient]
  -wayland-xdg-shell-client-protocol.h [QtWaylandClient]
  -wayland-xdg-shell-unstable-v6-client-protocol.h [QtWaylandClient]
   qwaylandclientbufferintegration_p.h [QtWaylandClient]
   qwaylandclientbufferintegrationfactory_p.h [QtWaylandClient]
   qwaylandclientbufferintegrationplugin_p.h [QtWaylandClient]
  @@ -84,38 +55,6 @@
   SYMBOL: QWaylandEglWindow
   qwaylandglcontext.h [QtWaylandClient]
   SYMBOL: QWaylandGLContext
  -qwayland-server-wayland.h [QtCompositor]
  -qwayland-server-hardware-integration.h [QtCompositor]
  -qwayland-server-input-method.h [QtCompositor]
  -qwayland-server-ivi-application.h [QtCompositor]
  -qwayland-server-output-extension.h [QtCompositor]
  -qwayland-server-qt-windowmanager.h [QtCompositor]
  -qwayland-server-qtkey-extension.h [QtCompositor]
  -qwayland-server-server-buffer-extension.h [QtCompositor]
  -qwayland-server-sub-surface-extension.h [QtCompositor]
  -qwayland-server-surface-extension.h [QtCompositor]
  -qwayland-server-text.h [QtCompositor]
  -qwayland-server-text-input-unstable-v2.h [QtCompositor]
  -qwayland-server-touch-extension.h [QtCompositor]
  -qwayland-server-windowmanager.h [QtCompositor]
  -qwayland-server-xdg-shell-unstable-v6.h [QtCompositor]
  -qwayland-server-xdg-shell.h [QtCompositor]
  -wayland-hardware-integration-server-protocol.h [QtCompositor]
  -wayland-input-method-server-protocol.h [QtCompositor]
  -wayland-ivi-application-server-protocol.h [QtCompositor]
  -wayland-output-extension-server-protocol.h [QtCompositor]
  -wayland-qt-windowmanager-server-protocol.h [QtCompositor]
  -wayland-qtkey-extension-server-protocol.h [QtCompositor]
  -wayland-server-buffer-extension-server-protocol.h [QtCompositor]
  -wayland-sub-surface-extension-server-protocol.h [QtCompositor]
  -wayland-surface-extension-server-protocol.h [QtCompositor]
  -wayland-text-input-unstable-v2-server-protocol.h [QtCompositor]
  -wayland-text-server-protocol.h [QtCompositor]
  -wayland-touch-extension-server-protocol.h [QtCompositor]
  -wayland-wayland-server-protocol.h [QtCompositor]
  -wayland-windowmanager-server-protocol.h [QtCompositor]
  -wayland-xdg-shell-server-protocol.h [QtCompositor]
  -wayland-xdg-shell-unstable-v6-server-protocol.h [QtCompositor]
   pmtrace_qtwayland_provider.h [QtCompositor]
   qtwaylandtracer.h [QtCompositor]
   qwaylandbufferref.h [QtCompositor]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-04-22 11:35:12 +00:00
Martin Jansa
81937713f7 qtdeclarative, qtscript: update tag with the patches on meta-qt5 forks
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-04-04 13:18:58 +00:00
Khem Raj
3b4b939815 layer.conf: Add warrior to compatible release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-03 14:12:00 +00:00
Martin Jansa
f83c1ca79b qtscript: add fix for build with gcc 8.3
* fixes issue introduced with gcc upgrade to 8.3:

| /OE/build/luneos-master/webos-ports/tmp-glibc/work/i586-webos-linux/qtscript/5.12.0+gitAUTOINC+0be84da600-r0/git/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:157:5: error: expected '(' before 'volatile'
|  asm volatile (
|      ^~~~~~~~
|      (
| /OE/build/luneos-master/webos-ports/tmp-glibc/work/i586-webos-linux/qtscript/5.12.0+gitAUTOINC+0be84da600-r0/git/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:158:1: error: expected unqualified-id before string constant
|  ".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
|  ^~~~~~~~~

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-03-20 22:52:26 +00:00
Francesco Giancane
360ca76d24 qtbase: let user decide how to link openssl to Qt5 libraries
Switch from the configure script was extended from -openssl to -openssl-{linked,runtime} so that one can select whether to enable ssl library at linking time or runtime (with dlopen()), or letting the build system decide if no flag is specified.

Now with the OPENSSL_LINKING_MODE variable, it is possible to decide which linking mode to be used.

Signed-off-by: Francesco Giancane <francesco.giancane@polito.it>
2019-03-18 11:26:07 +00:00
Andreas Müller
1e0678e118 qtbase: fix target mkspec adjustment
mkspecs are not part of qtbase-tools

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-18 11:25:34 +00:00
Andreas Müller
7fdddb6658 qtbase: Adjust target mkspec settings
* linux-oe-g++ won't work use linux-g++ by default
* we doe not cross compile on target
* adjustment are done at postinst to keep build sysroots unmodified
* tested on Raspi3 by building qtwayland with qtcreator

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-07 23:49:24 +00:00
Andreas Müller
bd4b0cd2cc qt5-creator: Do not ship two desktop files
These days qtcreator ships desktop file - so use that.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-02-24 09:51:19 +00:00
Andreas Müller
b4d43ef9ec packagegroup-qt5-toolchain-target: add qtbase-tools
From Qt perspective qmake/moc and friends are part of the toolchain

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-02-24 09:51:19 +00:00
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