Commit Graph

758 Commits

Author SHA1 Message Date
Martin Jansa
b7ae79a054 qtwebengine: fix build with glibc-2.26
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-22 17:33:41 +02:00
Martin Jansa
9c7507ef15 qt: upgrade to latest revision in 5.9 branch
* 3 patches were included upstream

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-22 17:33:38 +02:00
Martin Jansa
2d14d9956f qt: refresh remaining patches and add links to meta-qt5 repos
* remove
  qtdeclarative/0001-Fix-QQmlExpression-leaking-QQmlError-objects.patch
  qtwayland/0002-Fix-initial-window-property-values-being-propagated.patch
  which is already applied and fuzzy patch just apply the same section
  twice

* restore
  qttools/0001-add-noqtwebkit-configuration.patch
  which was removed from SRC_URI in 5.9 upgrade

* add comment with link to meta-qt5 repository where the meta-qt5 .patch
  files are maintained, include branch and tag name so that it's more
  clear from where these changes are exported (with:
  git format-patch --no-numbered --no-signature)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-20 19:30:06 +02:00
Martin Jansa
a0b2220b5e qtwebengine: add a fix for building demobrowser without printing support
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-20 19:30:06 +02:00
Samuli Piippo
969f1f80bf Upgrade to Qt 5.9.0
* adapt QtWebEngine recipe to use GN instead of GYP
* add QtRemoteObjects and QtWebView as a new Qt modules
* update available QtBase configure arguments
* remove obsolete patches
* patch all .pc files to remove build paths
* include generated QML cache files in packages
* the patch "configure paths for target qmake properly" could not
  be applied anymore and support must be done differently

* QtWebEngine now requires gcc-multilib to be installed on the host
  system, because the host tools are built to the same bitness as
  the target (arm -> x86, aarch64 -> x86-64)

* refresh the patches to match with b5.9* branches on:
  https://github.com/meta-qt5/qtbase
  https://github.com/meta-qt5/qtwebengine
  and 56-based branch on
  https://github.com/meta-qt5/qtwebengine-chromium

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-20 19:30:05 +02:00
Martin Jansa
648f7b0a2e qtbase, qtgraphicaleffect, qtmultimedia, qtscript, qtlocation, qtwayland: disable gold to work around binutils bug
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-20 19:28:47 +02:00
Martin Jansa
209e7e6dd8 qtwebengine: disable SECURITY_STRINGFORMAT to fix the build
* meta/conf/distro/include/security_flags.inc adds -Wformat and
  -Wformat-security, but openh264 adds -Wno-format after that causing
  build to fail

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-19 14:43:47 +02:00
Saul Wold
d9f4b6e55e meta-toolchain-qt5: don't rely on COREBASE/LICENSE
This file lists the licenses in use by OE-Core and it not a
proper license file, just use the COPYING.MIT.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-19 13:04:02 +02:00
Matt Hoosier
3522d3dca0 qtbase: fix Krogoth build regression from efa8aaf
With

    commit efa8aaf82e
    Author: Andreas Müller <schnitzeltony@googlemail.com>
    Date:   Thu Feb  9 00:26:09 2017

    qmake5_base.bbclass: set qt.conf by environment variable again

we stopped pointing ${OE_QMAKE_QTCONF_PATH} at a valid file and
instead directed it to a path which was intended not to exist.

The motivation was to permit qtbase/qtbase-native/nativesdk-qtbase
to build again after Qt 5.8 started paying attention to the
contents of this file.

The change as done in efa8aaf works well enough for Morty and
subsequent releases' copies of Bitbake, but fails on earlier
releases because they lack the following change:

    commit 2afcbfef2cd1ca568e5225884a8021df38ee3db0
    Author: Ross Burton <ross.burton@intel.com>
    Date: 2016-07-14 13:56:22

    bitbake: build: don't use $B as the default cwd for functions

The result is that when we build with Krogoth or prior, the body
of do_generate_qt_config_file() runs with a cwd of ${B}, which was
_not_ the intent of efa8aaf. Because the working directory is ${B},
${OE_QMAKE_QTCONF_PATH} is written in there too. do_configure() --
whose cwd is by design also ${B} -- then finds the file 'foodummy',
and the build breaks for the reasons outlined in efa8aaf.

This change simply shifts the implementation tactics to suppress
the creation of ${OE_QMAKE_QTCONF_PATH} during qtbase rather than rely
on unspecified behavior about the cwd of do_generate_qt_config_file().

(cherry picked from commit a17ff281aa8d99f770b0a049cb798235005fb93e
at https://codereview.qt-project.org/yocto/meta-qt5.)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-19 13:04:02 +02:00
Martin Jansa
142f8880b5 qt3d: refresh patches
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-17 20:44:17 +02:00
Martin Jansa
246ec7b7d9 qtwebengine: refresh patches
* upload the patches to b5.8 branch on:
  https://github.com/meta-qt5/qtwebengine
  and 53-based on:
  https://github.com/meta-qt5/qtwebengine-chromium
* refresh the patches

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-17 20:42:43 +02:00
Martin Jansa
d82317c23d qtbase: refresh the patches
* upload the patches to b5.8* branches on:
  https://github.com/meta-qt5/qtbase
* refresh the patches
* notice that some patches were in section which is meant to be
  common for target, native and nativesdk qtbase but were added
  only in target recipe, I've updated them to be included in all
  3, hopefully they can be used in all 3 (I don't use nativesdk at all)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-17 20:42:43 +02:00
Carlos Rafael Giani
1619723dfc gstreamer1.0-plugins-bad: add qt5 packageconfig
This adds a new command line switch to the configure script to make sure
the right paths to moc, uic, rcc are used. It also makes sure OpenGL is
enabled if the qt5 packageconfig is in use.

Note that the moc/uic/rcc path configure switches were introduced
in GStreamer 1.12.2, so this version is a requirement.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-13 13:32:36 +02:00
Ming Liu
c74e5b8a81 qtbase: remove qtbase-native from DEPENDS
qtbase-native has been included by QT5TOOLSDEPENDS, so this line is
redundant and leading multiple qtbase-native existing in DEPENDS.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-13 13:32:30 +02:00
Khem Raj
7efcea9ab7 qt3d: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-10 18:27:51 +02:00
Khem Raj
3963daa20d qtwebkit: Backport a patch to fix build with icu-59
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tested-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-10 18:27:44 +02:00
Jonathan Liu
17d94b798a quazip: update to 0.7.3 and add missing metadata
The license checksum has changed as a static linking exception has been
added on top of the LGPL 2.1 license.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-08 20:46:15 +02:00
Khem Raj
0b41b62ca5 qtbase: Use sched_yield instead of pthread_yield
Makes it portable across glibc and musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-08 20:45:33 +02:00
Khem Raj
9042969154 qtbase: Fix ptests with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-08 20:44:41 +02:00
Luca Ceresoli
d53382fcb3 qt5-ptest: fix build with yocto < 2.3 (pyro)
The expand parameter to DataSmart.getVar() defaults to True since
yocto 2.3 (pyro) [0]. Stable Yocto releases 2.2 (morty) and 2.1
(krogoth) had no default value. Older, now unsupported releases
defaulted to False [1] [2].

Not passing the expand parameter here means all recipes including
qt5-ptest.inc won't build with yocto 2.2 and 2.1 with this error
message:

  $ bitbake qtxmlpatterns -vfc populate_sysroot
  [...]
  ERROR: Error executing a python function in exec_python_func() autogenerated:

  The stack trace of python calls that resulted in this exception/failure was:
  File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
       0001:
   *** 0002:do_populate_sysroot(d)
       0003:
  File: '[...]/poky/meta/classes/staging.bbclass', lineno: 227, function: do_populate_sysroot
       0223:        p = p.replace("/", "_")
       0224:        with open(provdir + p, "w") as f:
       0225:            f.write(pn)
       0226:}
   *** 0227:
       0228:do_populate_sysroot[vardeps] += "${SYSROOT_PREPROCESS_FUNCS}"
       0229:do_populate_sysroot[vardepsexclude] += "MULTI_PROVIDER_WHITELIST"
       0230:
       0231:SSTATETASKS += "do_populate_sysroot"
  Exception: TypeError: getVar() missing 1 required positional argument: 'expand'

  DEBUG: Python function do_populate_sysroot finished
  ERROR: Function failed: do_populate_sysroot

Fixing this in a user layer requires duplicating the entire
do_populate_sysroot_append() in the .bbappend of all packages
including qt5-ptest.inc, i.e. currently qtdeclarative, qtquick1 and
qtxmlpatterns.

Avoid the hassle for those users by explicitly passing expand=True.

[0] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2631c375b8a025ee2e4329f6d93900bb7b5dadf7
[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c7610aa353e31977c099ce574acb188a3f4219e0
[2] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4e5e501155a21fe64a470c626b3afe6d9748308e

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-08 20:44:31 +02:00
Huang Qiyu
6e9892aa3c qtbase: add ptest
Add ptest for qtbase by using provided testsuite.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-08 20:44:12 +02:00
Martin Jansa
8960831c15 qwt-qt5.inc: fix QA warning
* it was partially fixed in previous change, but there was still:
  qwt-qt5-6.1.3: qwt-qt5-dbg: found library in wrong location:
  /usr/plugins/designer/.debug/libqwt_designer_plugin.so [libdir]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:56:02 +02:00
Mikko Rapeli
c2907d265b qt5-git.inc: set CVE_PRODUCT to qt
It is used in NVD for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2015-1860

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-21 11:00:52 +02:00
Diego Rondini
3c4f2cba1f python-pyqt5: include QtWidgets module
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-21 11:00:47 +02:00
Khem Raj
045e39b7d4 qt5-creator: Link with libexecinfo on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:56:56 +02:00
Khem Raj
e1027a5e60 qtvirtualkeyboard: Include sys/time.h
Fixes build on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:56:53 +02:00
Khem Raj
d69be5de8c qtwebengine: Fix build on musl
import needed chromium patches from meta-browser

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:56:51 +02:00
Khem Raj
92c634e9d5 qt5-creator: Fix build with NO_ACCESSIBILITY
Also add missing headers in sources

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:56:47 +02:00
Khem Raj
2afd1b77be maliit-framework-qt5: Always have optimize flags
When building with hardening flags we need some optlevel > 0
enabled, otherwise FORTIFY_SOURCE wont work

Fixes
maliit-framework-qt5/0.99.0+git999-r0/recipe-sysroot/usr/include/features.h:376:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp
]
|  #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
|     ^~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:56:45 +02:00
Khem Raj
bf7cdd9630 qtbase-native: Fix qdbuscpp2xml segfault
0012-qdbuscpp2xml.pro-do-not-build-with-bootstrapped-depe.patch alone was causing
qdbuscpp2xml to simply segfault on simple invocation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-12 10:25:56 +02:00
Martin Jansa
932515ad35 qt5-ptest.inc: append do_populate_sysroot only for target
* otherwise it breaks e.g. qtxmlpatterns-native build as shown in:
  http://errors.yoctoproject.org/Errors/Details/147039/

ERROR: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_populate_sysroot(d)
     0003:
File: 'TOPDIR/openembedded-core/meta/classes/staging.bbclass', lineno: 128, function: do_populate_sysroot
     0124:
     0125:python do_populate_sysroot_setscene () {
     0126:    sstate_setscene(d)
     0127:}
 *** 0128:addtask do_populate_sysroot_setscene
     0129:
     0130:def staging_copyfile(c, target, dest, postinsts, seendirs):
     0131:    import errno
     0132:
File: 'TOPDIR/openembedded-core/meta/classes/staging.bbclass', lineno: 114, function: copyFiles
     0110:
     0111:do_populate_sysroot[vardeps] += "${SYSROOT_PREPROCESS_FUNCS}"
     0112:do_populate_sysroot[vardepsexclude] += "MULTI_PROVIDER_WHITELIST"
     0113:
 *** 0114:POPULATESYSROOTDEPS = ""
     0115:POPULATESYSROOTDEPS_class-target = "virtual/${MLPREFIX}${TARGET_PREFIX}binutils:do_populate_sysroot"
     0116:POPULATESYSROOTDEPS_class-nativesdk = "virtual/${TARGET_PREFIX}binutils-crosssdk:do_populate_sysroot"
     0117:do_populate_sysroot[depends] += "${POPULATESYSROOTDEPS}"
     0118:
Exception: FileNotFoundError: [Errno 2] No such file or directory: 'TOPDIR/tmp-glibc/work/x86_64-linux/qtxmlpatterns-native/5.8.0+gitAUTOINC+9f7e01b582-r0/sysroot-destdir/usr/'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-12 10:25:33 +02:00
Martin Jansa
c2768bd4e5 qtwebengine: fix build with gcc7
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-12 10:25:33 +02:00
Khem Raj
00d72cd892 qwt-qt5: Fix rpath issues
It errors out
usr/plugins/designer/libqwt_designer_plugin.so [rpaths]
QA Issue: qwt-qt5-plugins: found library in wrong location: /usr/plugins/designer/libqwt_designer_plugin.so

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-12 10:25:33 +02:00
Steffen Sledz
aa0605d3c7 qtquickcontrols2: fix compilation of examples/texteditor
git/examples/quickcontrols2/texteditor/documenthandler.cpp:284:18: error: invalid use of incomplete type 'class QDebug'
          qWarning() << "load() called before DocumentHandler has QQmlEngine";

Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-12 10:25:31 +02:00
Huang Qiyu
2c1d6b1e93 qtquick1: add ptest
Add ptest for qttools by using provided testsuite in qtquick1.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-12 10:25:04 +02:00
Huang Qiyu
1eac990617 qtdeclarative: add ptest
Add ptest for qttools by using provided testsuite in qtdeclarative.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-12 10:25:00 +02:00
Huang Qiyu
ec8c62e06c qtxmlpatterns: add ptest
Add ptest for qttools by using provided testsuite in qtxmlpatterns.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-12 10:24:57 +02:00
Huang Qiyu
05455e605b qt5: add qt5-ptest.inc
Add qt5-ptest.inc file for qt ptest related tasks
        1)      Rewrite do_compile_ptest task for qt
        2)      Add new do_compile_ptest_base and task do_install_ptest
        3)      Write do_populate_sysroot_append to resolve do_compile_ptest_base problem in yocto2.3
        The compile error log is shown as follow:
        cd auto/ && ( test -e Makefile || /yocto/work001/fnst/huangqy/work_qt/build/tmp/work/i586-p
oky-linux/qtxmlpatterns/5.8.0+gitAUTOINC+9f7e01b582-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o M
akefile /yocto/work001/fnst/huangqy/work_qt/build/tmp/work/i586-poky-linux/qtxmlpatterns/5.8.0+gitA
UTOINC+9f7e01b582-r0/git/tests/auto/auto.pro ) && make -f Makefile
        Project ERROR: Could not find feature xml-schema.
        Makefile:42: recipe for target 'sub-auto-make_first' failed

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-12 10:24:56 +02:00
Daniel Mack
428be3cc16 qtwebengine: add PACKAGECONFIG for webrtc
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 10:07:43 +02:00
Jonathan Liu
800d4c1697 libconnman-qt5: update to 1.1.10
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 10:07:10 +02:00
Martin Jansa
2940d84215 Revert "qttools: DEPENDS on icu"
This reverts commit 6a42ca074f.

http://lists.openembedded.org/pipermail/openembedded-devel/2017-June/113308.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-27 14:08:49 +02:00
Ming Liu
6a42ca074f qttools: DEPENDS on icu
This fixes a following QA issue:
| QA Issue: nativesdk-qtbase-tools rdepends on nativesdk-libicui18n, but it isn't a build dependency.
| QA Issue: nativesdk-qtbase-tools rdepends on nativesdk-libicuuc, but it isn't a build dependency.
| QA Issue: nativesdk-qtbase-tools rdepends on nativesdk-libicudata, but it isn't a build dependency.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-22 16:01:19 +02:00
Denys Dmytriyenko
3ae86cb32e qtbase: respect "ld-is-gold" DISTRO_FEATURES
If not set explicitly, some modules like QtWebKit and QtQuick1 can fail:

| make[2]: Entering directory '/OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/build/Source'
| rm -f libQt5WebKit.so.5.8.0 libQt5WebKit.so libQt5WebKit.so.5 libQt5WebKit.so.5.8
| linking ../lib/libQt5WebKit.so.5.8.0
| /OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/recipe-sysroot/usr/lib/libQt5Core.so:(*IND*+0x0): multiple definition of `__bss_start'
| /OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/recipe-sysroot/usr/lib/libQt5Core.so:(*IND*+0x0): multiple definition of `__bss_start'
| /OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/recipe-sysroot/usr/lib/libQt5Core.so:(*IND*+0x0): multiple definition of `_edata'
| /OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/recipe-sysroot/usr/lib/libQt5Core.so:(*IND*+0x0): multiple definition of `_edata'
| /OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/recipe-sysroot/usr/lib/libQt5Core.so:(*IND*+0x0): multiple definition of `_end'
| /OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/recipe-sysroot/usr/lib/libQt5Core.so:(*IND*+0x0): multiple definition of `_end'
| /OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/recipe-sysroot/usr/lib/libQt5Gui.so:(*IND*+0x0): multiple definition of `__bss_start'
| /OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/recipe-sysroot/usr/lib/libQt5Gui.so:(*IND*+0x0): multiple definition of `_edata'
| /OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/recipe-sysroot/usr/lib/libQt5Gui.so:(*IND*+0x0): multiple definition of `_end'
| collect2: error: ld returned 1 exit status
| Makefile.api:92: recipe for target '../lib/libQt5WebKit.so.5.8.0' failed
| make[2]: *** [../lib/libQt5WebKit.so.5.8.0] Error 1
| make[2]: Leaving directory '/OE/master/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/qtwebkit/5.8.0+gitAUTOINC+74ac5b0f34-r0/build/Source'
| Makefile.QtWebKit:44: recipe for target 'sub-api-pri-make_first-ordered' failed
| make[1]: *** [sub-api-pri-make_first-ordered] Error 2

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-20 11:53:08 +02:00
Philip Balister
6605c48f3a python-pyqt5: Add recipe.
* Build tested on raspberrypi3
 * I promise to chase the patch upstream.
 * v2 auto detects QT_VERSION

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-16 09:35:13 +02:00
Philip Balister
960aaf3658 qwt: Add recipe.
* Build tested for raspberrypi3.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-16 09:35:08 +02:00
Huang Qiyu
5f837b47f5 qttools: add ptest
Add ptest for qttools by using provided testsuite.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-12 16:05:30 +02:00
Gordan Markuš
e03d290bc0 qtwayland: fix initial window property values
This fixes a bug where there is nothing rendered on the
QtWayland surface due to missing window properties.

Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-12 16:05:25 +02:00
Gordan Markuš
5b0bb2babf qtdeclarative: fix memory leaks
* Fix QQmlExpression leaking QQmlError objects
* Fix V4 Javascript Engine creating duplicate entries
* Fix memory leak in QQuickWindowPrivate::deliverTouchAsMouse

Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-12 16:05:22 +02:00
Martin Jansa
817fc2a19b qtchooser: respect LDFLAGS
* fixes:
  qtchooser-39+git4717841185d34bbe450e3b24445f2d35e3325a6a: No GNU_HASH in the elf binary:
  '/tmp/work/armv5te-oe-linux-gnueabi/qtchooser/39+git4717841185d34bbe450e3b24445f2d35e3325a6a-r0/packages-split/qtchooser/usr/bin/qtchooser'
  [ldflags]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-10 13:44:53 +02:00
Gordan Markuš
1258138ec5 qtbase-native: create empty oe-device-extra.pri
Suppress multiple occurrences of the same warning while configuring
and compiling qtbase-native and nativesdk-qtbase.

WARNING: Unable to find file git/mkspecs/linux-oe-g++/../oe-device-extra.pri
Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-10 13:44:53 +02:00