Commit Graph

636 Commits

Author SHA1 Message Date
Paul Eggleton
bd4c475915 Add .gitignore to ignore .pyc/.pyo files
Since we just added lib/ containing python modules, we should really
ignore any compiled python objects since they will be produced if the
code is executed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-07 13:09:54 +01:00
Martin Jansa
c1cf7c4a4c gdb: include readline in default PACKAGECONFIG
* without readline in PACKAGECONFIG and with no-static-libraries.inc
  gdb fails when trying to build against own bundled static readline

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-02 11:15:50 +01:00
Jonathan Liu
7ef85da72a libconnman-qt5: update to 1.0.98
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-27 20:58:57 +01:00
Jonathan Liu
dc6360b0a1 qtwebkit: backport patch to fix linking with qtwebkit
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-27 20:58:51 +01:00
Jonathan Liu
6e51a6c108 libconnman-qt5: remove blacklist
The package no longer fails sanity test because of connman-qt5.pc
containing references to build host paths.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-27 20:58:45 +01:00
Jonathan Liu
4b1d7738f0 qtbase: fix up pkgconfig replacements
The replacements were being done in qt_module.prf which is not included
when building 3rd party libraries. To resolve this, move the
replacements from qt_module.prf to qt.prf which is included when
building any qmake project. The pkgconfig include replacement is removed
as it doesn't seem to be needed anymore and causes issues when the
includedir path in pkgconfig has part of its path replaced with
${includedir} resulting in a circular reference that causes the OE
package_do_pkgconfig task to fail.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-27 20:58:39 +01:00
Samuli Piippo
26637f766a qtbase: add runtime dependency to xkeyboard-config
When qtbase is configured with xkbcommon-evdev (usually without X),
make sure xkeyboard-config is installed to provide keymap database.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 16:39:22 +01:00
Paul Eggleton
8f37f0987f recipetool: add support for Qt5 to meta-qt5
Having in recent OE-Core master added build system extension
capabilities to recipetool, add a module in meta-qt5 which uses this to
enable extraction of Qt5 dependencies from cmake, qmake and autoconf
files. It's by no means perfect but does do something useful if you add
a recipe for a Qt5-using piece of software using recipetool create or
devtool add.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 16:39:16 +01:00
Martin Jansa
88a7f264ef libconnman-qt5: Blacklist because of connman-qt5.pc
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-24 14:00:16 +01:00
Martin Jansa
4f77855792 qt5: skip libdir for ${PN}-dbg and dev-elf for ${PN}-examples-dev
* the examples are installed in locations, QA checks don't like

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 23:28:56 +01:00
Martin Jansa
0294b0d787 qtbase: upgrade SRCREVs a bit more
* to make sure that qtbase modules report 4.6.1 version

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 15:52:55 +01:00
Samuli Piippo
8475755ec3 nativesdk-qtbase: use runtime linked dbus
Remove direct dependency to nativesdk-dbus. Instead configure
qtbase to use runtime linked dbus library, if that is found.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:49:25 +01:00
Martin Jansa
52b0e06d02 qttransltations: Add PACKAGE for qtwebengine and qtquickcontrols2
* fixes QA warning:
WARNING: qttranslations-5.5.99+5.6.0-rc+gitAUTOINC+ce85e4ee4e-r0 do_package: QA Issue: qttranslations: Files/directories were installed but not shipped in any
 package:
  /usr/share/qt5/translations/qtquickcontrols2_uk.qm
  /usr/share/qt5/translations/qtwebengine_de.qm
  /usr/share/qt5/translations/qtwebengine_ru.qm
  /usr/share/qt5/translations/qtwebengine_uk.qm
  /usr/share/qt5/translations/qtwebengine_en.qm
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
qttranslations: 5 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:14 +01:00
Martin Jansa
ad2e26f135 qtwebengine: Hide textrel QA warning until there is proper fix for it
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:14 +01:00
Martin Jansa
0d66bb0d51 qtwebengine: Fix QA warning
* drop section with list of static libraries in workdir
* feel free to fix it properly in Qt build, I need quick hack to unblock
  my bitbake world builds

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:14 +01:00
Martin Jansa
1fea2d7b4c qtwebkit: Fix QA Warning
* there are multiple -L paths to workdir, causing QA warning like this:
  ERROR: qtwebkit-5.5.99+5.6.0-rc+gitAUTOINC+d2ff5a0855-r0 do_populate_sysroot: QA Issue: Qt5WebKit.pc failed sanity test
  (tmpdir) in path qtwebkit/5.5.99+5.6.0-rc+gitAUTOINC+d2ff5a0855-r0/sysroot-destdir//usr/lib/pkgconfig [pkgconfig]
* qtwebkit is dead, so hack it with simple sed, feel free to fix it in
  mkspecs if you want

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:14 +01:00
Martin Jansa
7f8c441d96 examples: fix few thousands host-user-contaminated QA warnings
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:14 +01:00
Martin Jansa
2f265b3d88 qtbase: Don't install libQt* files twice
* they are installed by make correctly (at least with latest 5.6 revisions)
* I wanted to remove .la files (in qmake5_base_do_install) and this copies them back to ${D} which is annoying.
So I've removed this cp line and checked what gets missing and it turns
out that nothing important is missing and even more importantly the fixed *prl files
are overwritten with their original version.

OE @ ~/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase $ diff -rq 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0*/image
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5Bootstrap.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5BootstrapDBus.a
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5BootstrapDBus.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5BootstrapDBus.prl
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5Concurrent.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5Core.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5DBus.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5Gui.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5Network.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5OpenGL.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5OpenGLExtensions.la
Files 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib/libQt5OpenGLExtensions.prl and
5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0/image/usr/lib/libQt5OpenGLExtensions.prl differ
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5PlatformSupport.la
Files 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib/libQt5PlatformSupport.prl and
5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0/image/usr/lib/libQt5PlatformSupport.prl differ
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5PrintSupport.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5Sql.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5Test.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5Widgets.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5XcbQpa.la
Only in 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib: libQt5Xml.la

OE @ ~/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase $ diff -uNr 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib/libQt5OpenGLExtensions.prl
5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0/image/usr/lib/libQt5OpenGLExtensions.prl
--- 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib/libQt5OpenGLExtensions.prl      2016-02-17 22:34:16.397812156 +0100
+++ 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0/image/usr/lib/libQt5OpenGLExtensions.prl   2016-02-17 22:38:56.637811683 +0100
@@ -3,4 +3,4 @@
 QMAKE_PRL_TARGET = libQt5OpenGLExtensions.a
 QMAKE_PRL_CONFIG = silent lex yacc depend_includepath testcase_targets import_plugins import_qpa_plugin qt warn_on release link_prl incremental cross_compile
qpa no_mocdepend release qt_no_framework linux unix posix \$(OE_QMAKE_COMPILER) gcc cross_compile compile_examples qpa largefile use_gold_linker sse2 sse3
ssse3 sse4_1 sse4_2 avx avx2 pcre prefix_build force_independent force_bootstrap create_prl link_prl prepare_docs qt_docs_targets
no_private_qt_headers_warning QTDIR_build exceptions_off testcase_exceptions qt_example_installs warning_clean c++11 static opengl relative_qt_rpath git_build
qmake_cache target_qt c++11 strict_c++ c++14 c++1z hide_symbols bsymbolic_functions qt_install_headers need_fwd_pri qt_install_module create_cmake
compiler_supports_fpmath create_pc create_libtool have_target staticlib thread opengl moc resources
 QMAKE_PRL_VERSION = 5.6.0
-QMAKE_PRL_LIBS = -L/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0/build/lib -lQt5Gui -lQt5Core -lpthread -lGL
+QMAKE_PRL_LIBS =  -lQt5Gui -lQt5Core -lpthread -lGL

OE @ ~/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase $ diff -uNr 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib/libQt5PlatformSupport.prl
5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0/image/usr/lib/libQt5PlatformSupport.prl
--- 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0.orig/image/usr/lib/libQt5PlatformSupport.prl       2016-02-17 22:34:16.438812156 +0100
+++ 5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0/image/usr/lib/libQt5PlatformSupport.prl    2016-02-17 22:38:56.969811683 +0100
@@ -3,4 +3,4 @@
 QMAKE_PRL_TARGET = libQt5PlatformSupport.a
 QMAKE_PRL_CONFIG = silent lex yacc depend_includepath testcase_targets import_plugins import_qpa_plugin qt warn_on release link_prl incremental cross_compile
qpa no_mocdepend release qt_no_framework linux unix posix \$(OE_QMAKE_COMPILER) gcc cross_compile compile_examples qpa largefile use_gold_linker sse2 sse3
ssse3 sse4_1 sse4_2 avx avx2 pcre prefix_build force_independent force_bootstrap create_prl link_prl prepare_docs qt_docs_targets
no_private_qt_headers_warning QTDIR_build exceptions_off testcase_exceptions qt_example_installs warning_clean c++11 static internal_module egl opentype
qpa/genericunixfontdatabase relative_qt_rpath git_build qmake_cache target_qt c++11 strict_c++ c++14 c++1z hide_symbols bsymbolic_functions qt_install_headers
need_fwd_pri qt_install_module compiler_supports_fpmath create_libtool have_target staticlib qpa/basicunixfontdatabase thread opengl dbusadaptors
dbusinterfaces moc resources
 QMAKE_PRL_VERSION = 5.6.0
-QMAKE_PRL_LIBS = -L/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.5.99+5.6.0-rc+gitAUTOINC+ac8a3b948d-r0/build/lib -lQt5Gui -lQt5DBus -lQt5Core
-lpthread -lgthread-2.0 -pthread -lglib-2.0 -lqtfreetype -lz -lpng -lXrender -lXext -lX11 -lm -ludev -lEGL -lGL
+QMAKE_PRL_LIBS =  -lQt5Gui -lQt5DBus -lQt5Core -lpthread -lgthread-2.0 -pthread -lglib-2.0 -lqtfreetype -lz -lpng -lXrender -lXext -lX11 -lm -ludev -lEGL
-lGL

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:14 +01:00
Martin Jansa
8d9da5db2f qtbase: Resolve QA warning about /bin/bash dependency
* WARNING: QA Issue:
  /usr/lib/qt5/mkspecs/features/data/mac/objc@underscore@namespace.sh_qtbase-mkspecs
  contained in package qtbase-mkspecs requires /bin/bash, but no
  providers found in its RDEPENDS [file-rdeps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:14 +01:00
Martin Jansa
ce361b6eb1 qtbase: Fix WORKDIR references in pkg-config files
* otherwise all builds fail with:
  ERROR: QA Issue: Qt5Core.pc failed sanity test (tmpdir) in path qtbase/5.5.99+5.6.0-alpha1+gitAUTOINC+f7f4dde80e-r0/sysroot-destdir//usr/lib/pkgconfig [pkgconfig]
  since oe-core insane.bbclass was fixed to properly search for tmpdir
  in all pkg-config files.
* this issue was there for long time, I've checked the build with jethro
  branch and it already has
  prefix=<TOPDIR>/tmp-glibc/sysroots/qemux86/usr
  it just wasn't detected by QA checks until now
2016-02-20 14:45:13 +01:00
Martin Jansa
e434995a73 qt5: upgrade to latest revisions in 5.6 branch (5.6 RC)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:09 +01:00
Martin Jansa
e91dea6565 qmake5_base: delete *.la files
* they reference workdir and trip sanity check:
  ERROR: QA Issue: libQt5Sql.la failed sanity test (workdir) in path qtbase/5.5.99+5.6.0-alpha1+gitAUTOINC+f7f4dde80e-r0/sysroot-destdir//usr/lib [la]
* I'm intentionally not using remove-libtool.bbclass recently
  added to oe-core, because many people combine newer meta-qt5
  with older oe-core and can be missing this bbclass, I've
  pending patch to migrate this to remove-libtool.bbclass, will
  probably merge it after 2.1 or 2.2 release.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-17 22:55:37 +01:00
Samuli Piippo
7ac1481d0a qt5: add Qml support to lupdate
Add dependency to qtdeclarative to qttools' native and nativesdk builds.
This gives us lupdate with a support for Qml files. The nativesdk builds
of qtdeclarative depend on more modules (Xml, Sql) from nativesdk-qtbase,
so preserve all libs that are already built. This brings few extra libs
to the package that might not be needed, but keeps the recipe simpler.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-14 18:54:55 +01:00
Samuli Piippo
fd8fc6ffdb qt3d: support qgltf in native and nativesdk builds
qgltf is used to import a variety of 3D model formats and export into
fast-to-load, optimized glTF assets embedded into Qt resource files

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-14 18:54:55 +01:00
Samuli Piippo
909858baf0 qt5: use common PACKAGECONFIG to build examples
Each Qt module's examples can now be enabled with PACKAGECONFIG.
Replace the webkit patch with a PACKAGECONFIG option and follow
common practice by not building QtWayland examples by default,
those can be enabled in a .bbappend with PACKAGECONFIG += "examples"

Enabling PACKAGECONFIG[examples] in qtbase, will still cause every
Qt module to build their examples.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-08 14:19:10 +01:00
Otavio Salvador
8e70eeb909 qt5-git.inc: Ensure we export the SRCREV as the module name
For components which use multiple Git repositories (e.g QtWebEngine)
it is important to have the module name exported so it can be referred
in SRCREV_FORMAT.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-08 14:19:00 +01:00
Simon Aittamaa
d6aeedb7f2 qtbase: Fix installation of fonts and libraries
This patch fixes three problems
    1) Running on a case-sensitive system would result in an error
       due to invalid casing of pattern to install.
    2) Using install on symlinks would cause multiple copies of the
       same file to be installed on the target-system, since install
       doesn't preserve symlinks. This wastes a lot of space and it
       causes ldconfig to complain about non-symlinked files.
    3) Leakage of user-ids, i.e. cp -a would preserve the uid/gid of
       whoever built the files, which is usually not what you want.

Signed-off-by: Simon Aittamaa <simon.aittamaa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-01 16:23:18 +01:00
Samuli Piippo
4a0acfa411 qtbase: use PACKAGECONFIG to ensure runtime dependency to libssl
Using openssl-linked configure has side effect that gdb catches the SIGILL
signal, which openssl uses internally on ARM, every time when starting
debugging any Qt application. This is annoying and somewhat confusing
behavior even with QtCreator.

Using the default openssl configure argument prevents this, while using
the 4th argument for PACKAGECONFIG keeps the runtime dependency to libssl
correctly in place.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:18:23 +01:00
Samuli Piippo
3bd297278d qtbase: re-enable replacing host paths in qconfig.pri
Uncomment code that replaces host paths with qmake built-in properties
in qconfig.pri. Modified to replace paths in all *.pri files in mkspecs
directory and to also change paths without space in front of it.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:16:27 +01:00
Samuli Piippo
3e2058f2e7 qt5: allow overriding git protocol used with QT_GIT uri
Add option QT_GIT_PROTOCOL to specify the protocol to be used
with the QT_GIT uri.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:16:18 +01:00
Javier Viguera
c7cd9cb466 qtconnectivity, qtsystems: fix bluetooth support
QMAKE_CACHE_EVAL is only used in qtwebengine and qtwebkit, but not in
the rest of the QT5 packages, so use EXTRA_QMAKEVARS_PRE to pass the
packageconfig options to the do_configure task.

Also generalize bluetooth support so it can be used not only with bluez4
but with bluez5 as well.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:14:01 +01:00
Andreas Müller
511a376450 qtscript/qtwebkit: disable thumb for armv4 and armv5 only to fix segfault on armv7
We have a simple application containing a QWebView which segfaulted during
loading a page on a CortexA9 (armv7 thumb2). After enabling debug information
for qtwebkit and remote debug session the point of segfault was detected in

Source/JavaScriptCore/llint/LowLevelInterpreter.asm:1082
  callSlowPath(_llint_slow_path_new_func_exp)

Further digging around lead to similar source in:

* qtwebkit: Source/JavaScriptCore/assembler/ARMv7Assembler.h
* qtscript: src/3rdparty/javascriptcore/JavaScriptCore/assembler/ARMv7Assembler.h

In these files a class ARMThumbImmediate is declared and used in many places.
This lead me to the suspicion that compiligng for armv7 expects thumb support.

The following tests were performed:

* our application is working fine again
* qtscript and qtwebkit were build with
  'ARM_INSTRUCTION_SET = "thumb"' => TUNE_FEATURES = "arm armv5 thumb dsp"
  for qemuarm without issues

This is a partial/rebased revert of:
commit 932b32c1c9
Author: Martin Jansa <Martin.Jansa@gmail.com>
Date:   Wed Apr 22 15:33:01 2015 +0200

    qtscript,qtwebking: disable thumb

    * qemuarm builds fail when thumb is enabled

    Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:13:58 +01:00
Cleiton Bueno
d8b2426588 qtwebengine: Fix error jpeg_codec.cc, media_capture_devices_dispatcher.cpp and file API qquickwebengineview_p_p.h.
Fix build codec jpeg_codec.cc error: invalid conversion from 'int' to 'boolean' [-fpermissive],
media_capture_devices_dispatcher.cpp error: 'QCoreApplication' has not been declared fix include <QCoreApplication>
and file API qquickwebengineview_p_p.h field 'm_backgroundColor' has incomplete type 'QColor' add include <QColor>

Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:13:58 +01:00
Samuli Piippo
d00f25f6e2 qt5: add extra path to qmlplugins
QtDeclarative installs file builtins.qmltypes under $$[QT_INSTALL_QML],
which was not included in the qmlplugins package.

Fix QA Issue: Files/directories were installed but not shipped
with qtdeclarative SRCREV 94e9fab2

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:13:58 +01:00
Jonathan Liu
82b8dc3a17 packagegroup-qt5-toolchain-target: do not check for meta-ruby layer
The ruby recipe has been moved into OE-core so checking for the
meta-ruby layer is no longer needed as the ruby recipe will always
be present.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 13:12:04 +01:00
Jonathan Liu
c6e7096715 README: remove meta-ruby dependency
The ruby recipe has been moved into OE-core so the meta-ruby layer
is no longer needed as the ruby recipe will always be present.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 13:11:42 +01:00
Mikko Rapeli
3d7f446135 cmake_qt5.bbclass: add DEPENDS to qtbase
All packages using this class need it and it is too easy for developers
to miss and leave race conditions into builds.

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-15 16:46:42 +01:00
Andreas Müller
13f73a2adc align target qmake paths/mkspec
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-15 16:46:42 +01:00
Andreas Müller
593c47aa37 qt5-creator: building qmldesigner with gcc5 works so enable it
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-15 16:46:42 +01:00
Samuli Piippo
76c57af769 qt5: overwrite RRECOMMENDS_${PN} for native packages
The class-target overwrite for RRECOMMENDS_${PN} prevented appending
new packages to the list in other recipes, without using the
class-target overwrite there as well. Instead set RECOMMENDS to empty
for native packages, where it is not needed.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-15 16:46:42 +01:00
Samuli Piippo
e60184beef qtbase: add PACKAGECONFIG for xkbcommon-evdev
Add PACKAGECONFIG for xkbcommon-evdev to fix QA Issue:
qtbase rdepends on libxkbcommon, but it isn't a build dependency? [build-deps]

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-15 16:46:42 +01:00
Andre McCurdy
2d1bf98775 ninja-native: remove from meta-qt5 (moved to meta-oe)
ninja-native is now available in meta-oe (jethro and master):

  http://git.openembedded.org/meta-openembedded/commit/?id=d931801de77a9cbb13c916231583b3526a7d3e11

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-16 22:59:43 +01:00
Samuli Piippo
4f20886325 qtwayland: remove unnecessary header install
Installation of the generated headers was fixed in qtbase v5.3.2

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-12 14:20:05 +01:00
Martin Jansa
275e503297 qt5-creator: upgrade to 3.5.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:26:25 +01:00
Martin Jansa
c2a13c3ae3 qtwebengine: disable autodetection from sysroot
* couple dependencies were autodetected from sysroot, e.g.:
  WARNING: QA Issue: qtwebengine rdepends on libflac, but it isn't a build dependency? [build-deps]
* bundled nspr fails to build when system nss is used
  | work/i586-oe-linux/qtwebengine/5.5.99+5.6.0-alpha1+gitAUTOINC+64dc919d31_7e655fbb76-r0/git/src/3rdparty/chromium/third_party/nss/nspr/pr/include/md/_unixos.h:596:9: error: unknown type name 'off64_t'
  |  typedef off64_t _MDOff64_t;
  |          ^
* addin qtlocation to resolve:
  WARNING: Failure to find: git/src/core/Release/obj/src/core/QtWebEngineCore.location_provider_qt.o

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:25:56 +01:00
Martin Jansa
7855f970ff qtwebengine: add dependency on yasm-native and use it
* latest chromium is failing to build yasm, because it's mixing native
  (x86_64) with target (x86 qemux86) libraries during the build:
  FAILED: /OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/i586-oe-linux/i586-oe-linux-g++ -m32 -march=i586 --sysroot=/OE/build/oe-core/tmp-glibc/sysroots/qemux86 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,--disable-new-dtags -Wl,--gc-sections -o genstring -Wl,--start-group obj.host/src/3rdparty/chromium/third_party/yasm/source/patched-yasm/genstring.genstring.o -Wl,--end-group
  /OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/i586-oe-linux/gcc/i586-oe-linux/5.2.0/ld: i386:x86-64 architecture of input file `obj.host/src/3rdparty/chromium/third_party/yasm/source/patched-yasm/genstring.genstring.o' is incompatible with i386 output
  /OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/i586-oe-linux/gcc/i586-oe-linux/5.2.0/ld: obj.host/src/3rdparty/chromium/third_party/yasm/source/patched-yasm/genstring.genstring.o: file class ELFCLASS64 incompatible with ELFCLASS32
  /OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/i586-oe-linux/gcc/i586-oe-linux/5.2.0/ld: final link failed: File in wrong format
  collect2: error: ld returned 1 exit status
  ninja: build stopped: subcommand failed.
  Makefile.gyp_run:262: recipe for target 'invoke_ninja' failed
  make[3]: *** [invoke_ninja] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:24:53 +01:00
Martin Jansa
768cd0229e qtwebengine: fix QMAKE_AR variable
* OE_QMAKE_AR is only the tool, qtbase and other modules add correct
  parameters to it in linux-oe-g++ platform:
  recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch:+QMAKE_AR = $(OE_QMAKE_AR) cqs
  but here it was missing "cqs" causing following error at the end of
  qtwebengine build:
  i586-oe-linux-ar Release/libqtwebenginecoreapi.a .obj/qwebenginecookiestoreclient.o .obj/qwebengineurlrequestinfo.o .obj/qwebengineurlrequestjob.o .obj/qwebengineurlschemehandler.o .obj/moc_qwebenginecookiestoreclient.o .obj/moc_qwebengineurlrequestinterceptor.o .obj/moc_qwebengineurlrequestjob.o .obj/moc_qwebengineurlschemehandler.o
  i586-oe-linux-ar: invalid option -- 'R'
  Usage: i586-oe-linux-ar [emulation options] [-]{dmpqrstx}[abcDfilMNoPsSTuvV] [--plugin <name>] [member-name] [count] archive-file file...
  ...

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:24:53 +01:00
Martin Jansa
c44294bb8b qtwebengine: add dependency on libxscrnsaver with x11 in DISTRO_FEATURES
* when qtbase is built with x11 support, xcb is enabled in QT_CONFIG
  and qtwebengine checks for libxscrnsaver.
  Unfortunately such check isn't fatal for do_configure task, it will
  only show something like this:
  libxscrnsaver wasn't found, qtwebengine won't be built
  in log.do_configure and continue to do_compile and do_install (which
  will also finish successfully, saying "Nothing to do").

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:24:53 +01:00
Martin Jansa
39110d2465 qtwebengine: bump SRCREV and re-add 0003-functions.prf-allow-build-for-linux-oe-g-platform.patch
* it's still needed, just somewhere else a bit

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:24:53 +01:00
Martin Jansa
5c68943cb7 qttranslations: add ${PN}-qtserialport
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:24:53 +01:00