Commit Graph

663 Commits

Author SHA1 Message Date
Martin Jansa
2e995dd9c1 qtcharts: Add dependency on qtmultimedia
* fixes QA:
  qtcharts-5.6.99+5.7.0-beta+gitAUTOINC+8a78184181: qtcharts-examples rdepends on qtmultimedia, but it isn't a build dependency, missing qtmultimedia in DEPENDS or PACKAGECONFIG? [build-deps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-13 21:13:39 +02:00
Ann Thornton
c16c4662db packagegroup-qt5-toolchain-target.bb: Add qtdeclarative-tools to RDEPENDS.
Signed-off-by: Ann Thornton <ann.thornton@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-09 11:00:32 -03:00
Li xin
27617dde35 qtchooser: add new recipe
qtchooser is a wrapper used to select between Qt binary versions.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-18 21:29:57 +02:00
Jonathan Liu
ee697dda79 qtvirtualkeyboard: add recipe
Qt Virtual Keyboard module was added in Qt 5.7.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-18 21:29:57 +02:00
Jonathan Liu
f91d2c5d37 qtdeclarative-render2d: add recipe
Qt Quick 2D Renderer module was added in Qt 5.7.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-18 21:29:57 +02:00
Jonathan Liu
9da1ed9757 qtdatavis3d: add recipe
Qt Data Visualization module was added in Qt 5.7.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-18 21:29:57 +02:00
Jonathan Liu
78c0b636f7 qtcharts: add recipe
Qt Charts module was added in Qt 5.7.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-18 21:29:57 +02:00
Jonathan Liu
09c0d9ad1e licenses: update technology preview license to match upstream
The license has extra blank lines at the end so these are removed to
match LICENSE.PREVIEW.COMMERCIAL from upstream.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-18 21:29:56 +02:00
Pascal Bach
0717c65abc cmake_qt5: prepend the Qt5 specific CMake variables to EXTRA_OECMAKE
Using the prepend function instead of "=+" makes sure the variables
are set even if the user overrides EXTRA_OECMAKE with "=" instead of just
appending to it.

Prepending also allows overriding because later arguments take precedence
ever earlier ones in CMake.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-18 21:29:56 +02:00
Pascal Bach
05103827d5 qtbase: add patch to make Qt5Config modules behave better with cmake builds
Currently if a project if using the cmake bbclass and the CMakeLists.txt file
uses find_package to find Qt5 and error like this is produced:

|   The imported target "Qt5::Core" references the file
|
|      "/qmake"
|
|   but this file does not exist.  Possible reasons include:

This is because OE_QMAKE_PATH_EXTERNAL_HOST_BINS is only set in the cmake_qt5 bblcass.

To make it work better in that case the Qt5Config files check if OE_QMAKE_PATH_EXTERNAL_HOST_BINS
is defined and bail out if not. For CMake this is the same as Qt5 wasn't found.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-18 21:29:51 +02:00
Samuli Piippo
cbd9331b7a qt5: Allow disabling SHA validation for branch
Qt releases are done from a release branch (5.x.x), which is later merged
back to a stable branch (5.x) and then removed. When a recipe is updated
to use the released SHA from the release branch, it will eventually break
when the release branch is removed. This happens because bitbake tries to
validate that given SHA is found from the given branch. Add additional
variable that can be used to disable the SHA check when branch is known
to be later removed, but SHA remains valid.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-09 13:02:12 +02:00
Julien Gueytat
05e05db305 qtbase: Reorder EGL libraries from pkgconfig and defaults:
https://bugreports.qt.io/browse/QTBUG-50838
https://bugreports.qt.io/browse/QTBUG-52739

The modification is the less intrusive possible. It only swaps LIBS and QMAKE_LIBS_EGL.
The reason behind that was that for the RaspberryPi:
 *  -lEGL -GLESv2 can link
 *  -lGLESv2 -lEGL can't

Adding -lEGL -lGLESv2 and then -lEGL gives -lGLESv2 -lEGL ... the libraries swaped.

Signed-off-by: Julien Gueytat <contact@jgueytat.fr>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-09 13:02:00 +02:00
Martin Jansa
0e5756c97a qtwebkit: add PACKAGECONFIGs for libxcomposite, libxrender, fontconfig
* fixes following QA:
  WARNING: qtwebkit-5.6.99+5.7.0-alpha+gitAUTOINC+e9b369b16f-r0 do_package_qa: QA Issue: qtwebkit rdepends on libxcomposite, but it isn't a build dependency? [build-deps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:48:05 +02:00
Martin Jansa
8034aa9807 qtbase: remove fonts packages
* fonts were removed from qtbase in:
  commit c5ceabb9a1caf6b9b7615a28c3097f221772f645
  Author: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
  Date:   Mon Aug 17 18:32:41 2015 +0200

    Purge all fonts

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-02 15:17:13 +02:00
Martin Jansa
9758a7aff6 qtbase: Remove unsupported options xvideo, xinerama, xinput, gtkstyle
* xvideo and xinerama were removed in:
  commit e824abd987d77efaa085fe1f9fb514d270798d55
  Author: Alexander Volkov <a.volkov@rusbitech.ru>
  Date:   Tue Oct 13 18:43:25 2015 +0300

    configure: Remove unused options -xvideo and -xinerama

    -xvideo was not used even by Qt 4 for a long time.
    -xinerama was used by the xlib plugin which was dropped
    by e6a7a6a381c0b61a93a642b425ecbcd714fd1c29.

* xinput was removed in:
  commit fa8dbbff8895e7e1fdf1e6b0a9f3d821cd2caf2f
  Author: Alexander Volkov <a.volkov@rusbitech.ru>
  Date:   Thu Oct 8 18:19:39 2015 +0300

    configure: Remove -xinput option

    It's obsolete since e6a7a6a381c0b61a93a642b425ecbcd714fd1c29
    (Remove xlib plugin) and a2337f79ffd229aa1e91f6bfec6294570eb3fe44
    (Remove Windows and X11 from src/widgets/platforms).

    The actual option is -xinput2.

* gtkstyle was removed (partially replaced with gtk) in:
  commit 899a815414e95da8d9429a4a4f4d7094e49cfc55
  Author: Dmitry Shachnev <mitya57@gmail.com>
  Date:   Thu Jul 30 21:32:43 2015 +0300

    Remove gtk2 style from qtbase, it will be moved to qtstyleplugins

    This will allow us to drop gtk2 support from qtbase in future,
    while still providing the gtk2 style for those who want to use it.

    Also with moving to qtstyleplugins, the code can be simplified
    because we can directly link to libraries we need, instead of using
    QLibrary.

    [ChangeLog][QtWidgets] Remove QGtkStyle, it is now provided in
    qtstyleplugins repository.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-02 15:16:52 +02:00
Martin Jansa
bf2cafa909 qt5: upgrade to latest revisions in 5.7 branches
* these revisions are after v5.7.0-beta1 tags where available
* it's highly recommended to read:
  http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/
  to find out how you're affected check which files/tools are
  included in your builds, e.g. for qtwebengine:
  OE @ ~/projects/qt-project/qtwebengine $ git grep QT_BEGIN_LICENSE | sed 's/^[^:]*://g' | sort | uniq -c
     11 ## $QT_BEGIN_LICENSE:GPL-EXCEPT$
     67 ** $QT_BEGIN_LICENSE:BSD$
     17 ** $QT_BEGIN_LICENSE:FDL$
     61 ** $QT_BEGIN_LICENSE:GPL-EXCEPT$
    261 ** $QT_BEGIN_LICENSE:LGPL$
* change in chromium's LICENSE is only copyright year update

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-02 15:16:18 +02:00
Samuli Piippo
c1b0c9f546 qt5: add one more subfolder for ${PN}-qmldesigner
QtQuickControls2 has deeper folder structure, make sure that files
go to correct packages.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-02 15:16:18 +02:00
Andreas Müller
802b395222 replace base_contains by bb.utils.contains
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-02 15:16:07 +02:00
Martin Jansa
754aaadc7f qt5: upgrade to latest revision in 5.6 branch
* qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch
  and
  qtwebkit/0004-Fix-linking-with-libpthread.patch
  were resolved upstream
* all patches were refreshed with:
  git format-patch --no-numbered --no-signature -NUMBER
  to remove numbering from Subject (it's good enough in filename) and to
  remove git version from signature (so it doesn't look differently when
  generated on different hosts with different git version).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-21 21:36:18 +02:00
Andreas Müller
f636eb7444 qt5: set SRCREVs,PVs to 5.6.0
* qtquick1: LICENSE.LGPLv3: I checked git repository.
  To be honest: I have no idea what caused checksum change.
  JaMa: it was modified in this change:
  OE @ ~/projects/qt-project/qtquick1 $ git log --oneline 87f2415adf34da08e6cd58f5da6f6a7d0d9cf141..dcc5e5c01c28b227f0e5e5e4976a9d26e8a45295 -- LICENSE.LGPLv3
  cd50897 Add the GPLv3 license text
  diff --git a/LICENSE.LGPLv3 b/LICENSE.LGPLv3
  index 8fbb743..4d67bac 100644
  --- a/LICENSE.LGPLv3
  +++ b/LICENSE.LGPLv3
  @@ -5,6 +5,8 @@

    You may use, distribute and copy the Qt GUI Toolkit under the terms of
    GNU Lesser General Public License version 3, which is displayed below.
  + This license makes reference to the version 3 of the GNU General
  + Public License, which you can find in the LICENSE.GPLv3 file.

* in some cases this is actually older SRCREV than what was
  used before (because normally the recipes use latest revision
  in stable - e.g. 5.6 branches, not the actuall tags). I'll
  upgrade to latest 5.6 revisions in follow-up commit (together
  with refreshing the .patch files and github.com/meta-qt5/qt*
  repositories to apply cleanly)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-20 10:58:33 +02:00
Denys Dmytriyenko
1ac2f2220e qtquickcontrols: fix compilation of examples/texteditor
git/examples/quick/controls/texteditor/src/documenthandler.cpp:136:12: error: invalid use of incomplete type 'class QDebug'
      qDebug() << "saved to" << localPath;

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-20 10:52:24 +02:00
Denys Dmytriyenko
3af44d648a qtdeclarative: fix compilation of examples/qquickviewcomparison
git/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp:180:14: error: 'QCoreApplication' has not been declared
          if (!QCoreApplication::arguments().contains(QStringLiteral("--no_render_alpha")))

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-20 10:51:51 +02:00
Jonathan Liu
4ec27e218d quazip: update to 0.7.2
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-20 10:51:51 +02:00
Andreas Müller
072df2617a qtquickcontrols2: initial add 5.6.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-04-20 10:51:51 +02:00
Martin Jansa
2f31f2a21b qmake5_base: use remove-libtool bbclass
* this requires latest oe-core (Yocto 2.1), if you want to use latest
  meta-qt5 with older oe-core, you need to backport this bbclass
  and more importantly don't forget to provide
  EXTRA_CONF_PACKAGECONFIG

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-20 10:50:50 +02:00
Martin Jansa
9dc60fe10f recipes: use new PACKAGECONFIG_CONFARGS instead of EXTRA_OECONF
* this fixes builds for DISTROs which include no-static-libraries.inc
* this change depends on oe-core change:
  http://patchwork.openembedded.org/patch/116719/
  which was merged in this form:
  http://patchwork.openembedded.org/patch/120513/
  to Yocto 2.1, if you want to use latest meta-qt5 with older oe-core
  you need to append EXTRA_OECONF to PACKAGECONFIG_CONFARGS

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-20 10:49:26 +02:00
Jonathan Liu
d6fe20e608 qtwebengine: enable ARMv7VE support
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-07 13:09:55 +01:00
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