* 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>
* 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>
* 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>
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>
* 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>
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>
qmlLive is a live reloader environment for rapid UI development
Change-Id: Icc29a45ed488a95257625122107b83cbe746c755
Signed-off-by: Seokha Ko <sukdo399@daum.net>
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>
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>
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>
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>
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>
* 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>
* 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>