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>
* 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>
* 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>
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>
* 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>
* 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>
* 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>
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>