Both qml and plugin paths need to be adjusted for static builds,
so that they point to the recipe-sysroot instead of the native one.
Similar change is already applied to host bins. These changes do
not affect regular dynamic builds, as the sections are only used in
static builds.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Enable debug info for webengine builds. The mkspec needed fixing,
otherwise CFLAGS were fed incorrectly to Ninja.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* since glibc 2.28 it is not necessary that Qt implements it
* reduce PACKAGECONFIG mania a bit
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
539e4f09f7 fixed bootstrapped build.
At least cross builds are not done bootstrapped. Fix them too by copying
statx/renameat2 macros - non-bootsrapped conditional - to
qfilesystemengine_unix.cpp - it is fortunately the only source using
QT_FEATURE_renameat2 / QT_FEATURE_statx (or QT_CONFIG(renameat2) /
QT_CONFIG(statx)).
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
The corresponding recipe in poky is named "glib-2.0_XXX.bb",
not "glib_XXX.bb" which causes parser errors when enabling
'glib' in PACKAGECONFIG.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Fix the following error during do_configure
| CMake Error at
| Could NOT find BISON (missing: BISON_EXECUTABLE) (Required is at
least
| version "2.1")
| Call Stack (most recent call first):
Add dependency to bison-native to fix the above error
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
The Qt 3D Studio Runtime provides C++ and QML APIs for integrating
Qt 3D Studio scenes into Qt applications, as well as the viewer
application that is used in combination with the Qt 3D Studio
application during the design phase
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* mesa* conditionally provides virtual/libgbm when gbm is enabled there
so it's better than depending on just virtual/mesa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* set PV to something better than just 'git'
* drop 0001-Makefile-install-the-man-dir.patch, the change was already applied long before
the currently used SRCREV, do_patch WARNING: was correctly complaining:
WARNING: qtchooser-git-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.htmlhttps://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-Makefile-install-the-man-dir.patch
patching file Makefile
Hunk #1 succeeded at 2 with fuzz 1 (offset 1 line).
Hunk #2 succeeded at 79 with fuzz 2 (offset 22 lines).
Now at patch 0001-Makefile-install-the-man-dir.patch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
If trying to build KDE there are extra package config options required.
This patch adds a KDE DISTRO_CONFIG that enables the extra
PACKAGECONFIG options required.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Add PACKAGECONFIG that enables static build for qtbase and consequently
to all Qt recipes. This can be enabled with DISTRO_FEATURE 'qt5-static',
which also adds qtdeclarative-native dependency to all recipes that
depend on qtdeclarative as it's required for qmlimportscannertool.
Building examples and tests with static build can take excessive amounts
of time and disk space, so disabling DISTRO_FEATURE 'ptest' and
PACKAGECONFIGs 'examples' from qtbase is advised.
Not all recipes support static builds and those are not fixed here.
Change-Id: Ia0e2a2467cd42d4395ed5292a645fd1d89ad521a
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Both qml and plugin paths need to be adjusted for static builds,
so that they point to the recipe-sysroot instead of the native one.
Similar change is already applied to host bins. These changes do
not affect regular dynamic builds, as the sections are only used in
static builds.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
The qt_xx packages are meta catalogs that have dependencies to
qtquick1 which is not available anymore, which then breaks loading
of the translation file.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
If host has clang installed, the qdoc is enabled doing host
contamination. For now, we disable this completely.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
qtbase configure option -ltcg enables Link Time Code Generation
using GCC's LTO feature. Enable it by default if the selected
optimization is for size.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Fix errors like this:
error: cast from 'QTJSC::JSCell*' to 'int32_t' {aka 'int'} loses precision
when cross compiling for RISC-V.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This changes the content so we start sending people to GitHub and
deprecate the OpenEmbedded-Devel mailing list as the place for patch
submission.
The content has been reworked so it renders better inside GitHub and
provide a more structured content.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The environment variable is empty when running qmake from SDK or
in device, which gives 'Empty filename passed to function' warning.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
CC and CXX include sysroot as argument to compiler and therefore includes
spaces, which need to be quoted to work e.g., with dash.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
These features depend on underlying syscall support in kernel
and if older kernels are in use, then we can have a knob to
turn them off.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
log.do_configure says:
| The WebKit build was disabled for the following reasons:
| * cross-compilation of QtWebKit with qmake is not supported yet
| * Missing cmake from PATH
| * Using cmake version , but at least cmake 2.8.12 is required to build QtWebKit.
and build was finished without errors (but surprisingly fast). Looking into
qtwebkit, it seems they have changed to cmake build system and Webkit.pro is
just a wrapper for preparing and running cmake.
For the transition the packageconfigs were translated as close as possible.
'libxcomposite' and 'libxrender' were merged to 'x11' - there is only one
option 'ENABLE_X11_TARGET' available for both.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* the plugin was moved in gstreamer 1.14 and now this bbappend was causing:
http://errors.yoctoproject.org/Errors/Details/178525/
ERROR: QA Issue: gstreamer1.0-plugins-bad: configure was passed unrecognised options: --disable-qt [unknown-configure-option]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* old 3.5.1 isn't compatible with Qt 5.11
qt-creator-opensource-src-3.5.1/src/libs/qmleditorwidgets/contextpanewidgetimage.cpp:891:23:
error: invalid use of incomplete type 'class QStyle'
| QIcon icon(style()->standardIcon(QStyle::SP_DockWidgetCloseButton));
| ^~
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>