Commit Graph

744 Commits

Author SHA1 Message Date
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
Gordan Markuš
793f22fb02 qtwayland: update build without xkbcommon-evdev
Update patch that enables building qtwayland without xkbcommon-evdev.
Building qtwayland without xkbcommon-eved with the previous patch
resulted in the following error:

error: undefined reference to 'xkb_state_mod_name_is_active'
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
Denys Dmytriyenko
ff073f0410 nativesdk-qtbase: pass -no-icu for deterministic builds
Similar to qtbase-native. Otherwise it may fail with this error,
if icu is not yet staged:

| .../git/src/corelib/codecs/qicucodec.cpp:53:26: fatal error: unicode/ucnv.h: No such file or directory
|   #include "unicode/ucnv.h"
|                            ^
|  compilation terminated.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 17:47:24 +01:00
Andreas Müller
c4e34aaab9 qtwebengine: show progress for do_compile
This was stolen from meta-oe / meson.bbclass - qtwebengine uses ninja for
build too.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 17:47:24 +01:00
Niels Kolthoff
b72a117386 packagegroup-qt5-toolchain-target: add qtquickcontrols2 package
Signed-off-by: Niels Kolthoff <nkolthoff@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 17:47:24 +01:00
Gordan Markuš
77a7558a66 qtwebengine: add commercial license
Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 17:46:01 +01:00
Andreas Müller
abc89e9d7f qtbase-native; do not build qdbuscpp2xml and qdbusxml2cpp bootstrapped
This fixes build of kde's baloo. That project converts a header file using
QDBusMessage to xml which won't work. More details can be found at [1].
Problems with qdbus-helpers came up with update Qt5.7->Qt.5.8 where we use
bootstrapped qtbase-native for the first time due to qtbase's new configuration
and for reduced build time.

[1] http://lists.qt-project.org/pipermail/development/2017-February/028756.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07 15:02:49 +01:00
Yann PERON
4f44a5799a packagegroup-qt5-toolchain-target: Add QtSerialBus to meta-toolchain-qt5.
Dynamic library Qt5SerialBus.so was not created in toolchain file system when I built bitbake meta-toolchain-qt5

Signed-off-by: Yann PERON <yann.peron@optimatic.fr>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07 13:33:53 +01:00
Andreas Müller
9927aacfc3 qtbase: PACKAGECONFIG[gtk] change gtk+ -> gtk+3 in dependencies
| WARNING: QA Issue: qtbase-plugins rdepends on gtk+3, but it isn't a build dependency, missing gtk+3 in DEPENDS or PACKAGECONFIG? [build-deps]

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-01 11:07:40 +01:00
Daniel Mack
595e9cf446 qtbase: remove absolute binary paths from mkspec files
When running 'bitbake -c populate_sdk' on an image that has qt5webkit
enabled, the uikit feature is enabled in qtbase, which then fails to install
with

  error: qtbase-mkspecs-5.8.0+git0+49dc9aa409-r0 conflicts with /usr/bin/perl

The culprit for this is /usr/lib/qt5/mkspecs/features/uikit/devices.pl,
which has #!/usr/bin/perl hardcoded. Fix this in a similar way other recipes
do it as well and strip out these bits at install time.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-26 12:25:50 +01:00
Schrempf Frieder
61c02506f6 qtbase-native: nativesdk-qtbase: remove patch that breaks mkspec setting for SDK
The patch 0008-configure-paths-for-target-qmake-properly.patch seems
to be intended for the target, not for native/nativesdk, as it breaks
the mkspec setting (sets linux-g++ instead of linux-oe-g++) by default.

This issue is also described here:
https://github.com/graugans/meta-udoo/issues/20#issuecomment-261241783

Signed-off-by: Frieder Schrempf <frieder.schrempf@exceet.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-26 12:25:34 +01:00
Max Krummenacher
ee301d84a7 populate_sdk_qt5: use _append operator
populate_sdk assigns TOOLCHAIN_HOST_TASK and TOOLCHAIN_TARGET_TASK with ?=.
Thus depending on the order in which populate_sdk and populate_sdk-qt5 get
parsed the assignments from populate_sdk are discarded and the resulting sdk
is missing among others the environment-setup script.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 14:01:13 +01:00
Andreas Müller
efa8aaf82e qmake5_base.bbclass: set qt.conf by environment variable again
Qt update to 5.8 caused fallout in meta-qt5-extra. It turned out that
qmake pulled in many pointers to native sysroot. Native sysroot is qmake's
default in case no configuration file qt.conf is set.
The problem with the new way of setting qt.conf by cmd parameter is that is has
to be set explicitly. For instance all the packages coming from [1] use
autotools for configuration. These ask qmake for paths during configuration
and build further Makefiles during compile. To patch these for additional cmd
parameter is nasty business.
Setting qt.conf when building all qtbase's causes errors during configuration.
To fix this we set the filename to a non existent file so that Qt's default is
used. This dirty hack was necessary because there was no way found to export
an empty variable OE_QMAKE_QTCONF_PATH.

This patch was tested by building huge parts of meta-qt5-extra. The meta-layers
did not yet contain oe-core's recipe-specific-sysroot changes so master build
might fail for missing dependencies.

[1] http://www.rncbc.org/drupal/

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-10 18:50:57 +01:00
Gordan Markuš
8ba28144d5 qtwebkit: depends on gperf-native
Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-07 12:55:53 +01:00
Martin Jansa
aa6551d149 qtwebengine: disable generate_character_data
* qtwebengine 5.8 fails to build it, because it mixes binaries for x86_64 host and x86 target when building for qemux86 on 64bit host
  https://bugreports.qt.io/browse/QTBUG-57705

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-03 14:51:15 +01:00