Commit Graph

442 Commits

Author SHA1 Message Date
Martin Jansa
e2e1864dca qt5-opengles2-test: exclude from world because of gles2 dependency
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-12 15:45:28 +01:00
Martin Jansa
e2f5adc92c qmake5_base: add *.prf to SSTATE_SCAN_FILES
* e.g. maliit-framework-qt5 is staging sysroot specific paths in
  sysroot-destdir/usr/lib/qt5/mkspecs/features/maliit-plugins.prf
  sysroot-destdir/usr/lib/qt5/mkspecs/features/maliit-framework.prf
  make sure they are replaced with correct ones on sstate reuse

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-06 15:58:55 +01:00
Julien Brianceau \(jbriance\)
ad958ec947 qtbase: Add gcc to QMAKE_COMPILER variable.
According to mkspecs/features/spec_post.prf, QMAKE_COMPILER variable should at least contain gcc for linux-oe-g++ platform.

This patch fixes a crash issue in QtWebKit introduced in v5.4.0 by:
34d4628b98

Signed-off-by: Julien Brianceau <jbriance@cisco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-05 14:08:24 +01:00
Mingtao Qu
46c76e43e7 qtmultimedia: Fix crash when use Gstreamer 0.10 plugin
In QVideoSurfaceGstSink::get_caps(), when use 0.10 version Gstreamer,
It create GstCap with a wrong type (G_TYPE_STRING) of parameter 'format',
a g_strcpy exception will be found.
This patch fixes the parameter type to use GST_TYPE_FOURCC as expacted.

Signed-off-by: Mingtao Qu <zarelaky@hotmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-31 16:24:44 +01:00
Andreas Müller
bb6049fbe1 qtbase: Make libraries build with cmake find gl(es) headers
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-31 16:24:22 +01:00
Andreas Müller
8b040e58b2 qtwayland: re-enable cmake files they don't break build anymore
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
38ddbf8b19 qt5-opengles2-test: import from meta-webos-ports
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
a5d4f3d649 qt5-plugin-generic-vboxtouch: Import from meta-webos-ports
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Andreas Müller
393cdf866b qttools-native 5.4.0: align source checksums
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
8d9a1b8b61 qtbwebengine: fix build for qemux86-64
* it was applied only for qtwebengine_5.3.2+git.bb, then removed
  completely with 5.4.0 upgrade, but it's still needed for both
  versions

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
d5d2aa5701 qtbase: add PACKAGECONFIG for cups
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
37e921db22 qtwebengine: Include resources in main package and add rdep on qmlplugins
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-11 13:24:22 +01:00
Martin Jansa
77f262d7c7 qt5-git: Update to 5.4.0+, latest revision in 5.4 branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-11 13:24:22 +01:00
Jonathan Liu
6566f728ab recipes: upgrade from 5.3.2 to 5.4.0
MJ: nativesdk-qtbase, nativesdk-qttools, qtbase-native: Drop unnecessary LICENSE/LIC_FILES_CHKSUM
MJ: qtwebkit: move leveldb dependency to .inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Jonathan Liu <net147@gmail.com>
2014-12-11 13:24:22 +01:00
Denys Dmytriyenko
c9a1041cb9 nativesdk-qtbase_git: re-add OEQt5Toolchain to SRC_URI
The file is expected by do_install(), but _git version resets SRC_URI.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-09 11:11:25 +01:00
Martin Jansa
54c44443c3 qt5-git: Update to rc1+, latest revision in 5.4 branch
* qtwebengine LIC_FILES_CHKSUM updated because of Copyright
  year update in chromium's LICENSE
  < // Copyright (c) 2013 The Chromium Authors. All rights reserved.
  and shortened the entry for qtwebengine LIC_FILES_CHKSUM, because
  it was including also few #include lines which were changed recently

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-09 11:06:30 +01:00
Anders Darander
5b8f470597 qmake5: set OE_QMAKE_INCDIR_QT
This is set when generation an SDK, and thus would be usefull to have also
when bitbaking. That allows us to use this in *.prf files which is used
both when bitbaking as well as when using the SDK.

Signed-off-by: Anders Darander <anders@chargestorm.se>
(cherry picked from commit 96e8d29fdbdf6fa656c854d9b55c5b0c213166a7)
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-01 17:18:27 +01:00
Diego Sueiro
54cf9e47a1 qtsystems: Change branch from stable to 5.3
Stable branch was removed on mainline and now 5.3
is used.

Signed-off-by: Diego Sueiro <diego.sueiro@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-14 08:49:49 -02:00
Otavio Salvador
c1f6332cce nativesdk-qtbase: Fix path for mkspecs in SDK
The mkspecs file needs to use the QT_DIR_NAME variable to
have a proper path to the files, fix it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-31 17:56:50 -02:00
Otavio Salvador
05213cd7ba nativesdk-qtbase: Add CMake toolchain configuration
This allow out of box use of CMake in a SDK; this includes the
subscript to properly set the host binaries path.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-31 17:56:50 -02:00
Jonathan Liu
80496565fb qtwebengine: whitelist supported architectures
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-31 14:18:30 +01:00
Jonathan Liu
ca640377e5 qtbase: fix path to external hostbindir binaries
This fixes syncqt.pl not being included in qtbase-tools.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:41 +01:00
Jonathan Liu
264f20883c qtwebengine: backport patches to fix ARM build failures
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:41 +01:00
Martin Jansa
01f1ab8ee8 qtwebengine: simplify SRC_URI
* now when it was moved from qt-labs to qt prefix we can reuse the
  SRC_URI from qt5-git.bb

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:30 +01:00
Martin Jansa
69e1a82939 qtbase: delete mkspecs/macx-ios-clang to hide QA issue
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:30 +01:00
Martin Jansa
c317b18d29 qt5: update LICENSE in git recipes
* move common part to qt5-git.bb and add GPLv2 only
  in recipes which allow to use that
* for details about LGPLv3 read:
  http://blog.qt.digia.com/blog/2014/08/20/adding-lgpl-v3-to-qt/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:30 +01:00
Martin Jansa
69b7d8f725 qt5: upgrade git recipes to 5.4-beta1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:29 +01:00
Nikolay Nizov
9a4c0b393b maliit-framework-qt5: Update SRCREV
This update is needed to include fix for segfaults when change keyboard
focus while having selection.
See http://issues.webos-ports.org/issues/673 for example.
This will update SRCREV for one(also the latest) commit from master branch.

Signed-off-by: Nikolay Nizov <nizovn@gmail.com>
2014-10-21 15:33:05 +02:00
Anders Darander
b62bda9780 nativesdk-qtbase: make it possible to keep additional libraries
In some usecases for the nativesdk, you might need some build tools that are built upon Qt5. This means
that we're having a need to keep more of the libraries build by nativsdk-qtbase. This patch adds the
infrastructure to support that

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-21 09:37:45 -02:00
Jonathan Liu
c4de929f38 packagegroup-qt5-toolchain-target: always include qttools packages
The qttools packages were included only if the ruby layer was enabled
as it required qtwebkit. However, qttools now has a PACKAGECONFIG
option for qtwebkit and does not enable it by default so we can include
the qttools packages even if the ruby layer is not enabled.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-21 09:37:45 -02:00
Otavio Salvador
51a4cdf3fc nativesdk-qtbase: Fix qtconfig.pri
The value used in the new environment subscript tried to use a target
variable which might not be accurate; use qmake to ask for the right
value for OE_QMAKE_QT_CONFIG variable.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-20 23:22:55 -02:00
Otavio Salvador
2f1b8fe630 Fix SDK environment setting
Since the change to use a meta-environment canadian package in the
OE-Core, the SDK environment setting has been broken. This uses the
new subscript environment to fix it and also move the environment
generation to the nativesdk-qtbase recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-16 17:35:21 -03:00
Martin Jansa
478fe949a9 qtbase: don't stage the fonts directory
* the staged files conflict with fonts staged by qt4-embedded and we don't need
  them in sysroot at all

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-08 17:52:08 +02:00
Martin Jansa
be2d4815ef qt5: upgrade git recipes to 5.4-alpha1
* introduce 2nd set of qtwayland and qtwebengine recipes, because newer
  revision isn't compatible with 5.3.2 release

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 04:25:11 +02:00
Martin Jansa
096112d4ab qtwayland-native: remove qtwaylandscanner symlink
* it doesn't seem to be required anymore

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 04:23:53 +02:00
Martin Jansa
6b83709072 qtbase: Drop dont-process configure option
* it was removed completely in 5.4 with:
commit b7d86139772c3ce662ea7f092658699d351bbb1d
Author: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Date:   Thu Jun 19 11:46:10 2014 +0200

    nuke -process/-fully-process/-dont-process options

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 04:23:53 +02:00
Martin Jansa
cfe122037d qt*: refresh the patches
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 04:23:53 +02:00
Martin Jansa
3700c51c24 qtbwebengine: fix build for qemux86-64
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 04:23:52 +02:00
Martin Jansa
c524da4747 qtwebengine: update repository location
* both were moved from qt-labs to qt and chromium repo was renamed to qtwebengine-chromium

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-29 23:57:32 +02:00
coldnew
d45d3e58a9 qt5: Add Qt 5.3.2 packages
Qt 5.3.2 has been released in September 16th, 2014.

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-29 04:46:21 +02:00
Otavio Salvador
12dac2ea13 qtwayland: Change module branch for 5.4
This is to fix the fetcher failure as the "stable" branch has been
removed. We does not change the revision we are using so this is
a safe change.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-09 09:37:55 -03:00
Martin Jansa
02861e677a qttools: fix noqtwebkit option
* it's added to CONFIG variable not QT_CONFIG

* qtwebkit was still detected and linked against
  DEBUG: qttools-tools: Dependency libQt5WebKitWidgets.so.5 requires
  package qtwebkit (used by files:
  ['qttools/5.3.1-r0/packages-split/qttools-tools/usr/bin/qt5/assistant',
   'qttools/5.3.1-r0/packages-split/qttools-plugins/usr/lib/qt5/plugins/designer/libqwebview.so'])

  DEBUG: qttools-tools: Dependency libQt5WebKit.so.5 requires package
  qtwebkit (used by files:
  ['qttools/5.3.1-r0/packages-split/qttools-tools/usr/bin/qt5/assistant'])

  DEBUG: qttools-plugins: Dependency libQt5WebKitWidgets.so.5 requires
  package qtwebkit (used by files:
  ['qttools/5.3.1-r0/packages-split/qttools-tools/usr/bin/qt5/assistant',
   'qttools/5.3.1-r0/packages-split/qttools-plugins/usr/lib/qt5/plugins/designer/libqwebview.so'])

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-11 13:37:28 +02:00
Martin Jansa
5d28f84257 qtwebkit.inc: add PACKAGECONFIG for libwebp
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-11 13:37:28 +02:00
Martin Jansa
b0a32232e7 qtimageformats: Make the dependencies deterministic
* jasper and libwebp were autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-04 19:20:39 +02:00
Yen-Chin Lee
6ce50bf97b cinematicexperience: fix qt5.3 compatibility
cinematicexperience will run failed on Qt5.3.0 and Qt5.3.1, error message
as below

------------------------------------------------------------
Qt5_CinematicExperience.qml:26:5: Type MainView unavailable
         MainView {
         ^
/content/MainView.qml:241:9: Type SettingsView unavailable
             SettingsView {
             ^
/content/SettingsView.qml:88:13: Type Switch unavailable
                 Switch {
                 ^
/content/Switch.qml:9:21: Cannot assign a value to a signal (expecting a script to be run)
         property string onText: "On"

                         ^
------------------------------------------------------------

This patch fix this issue and make cinematicexperience can run on qt5.3.

ref: http://wickwire2099.blogspot.tw/2014/05/qt-530-qt5-cinematic-experience.html

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-23 16:35:52 +02:00
Martin Jansa
5111e23ae2 qtbase: restore QOpenGLPaintDevice-sub-area-support.patch from 5.3.0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-22 22:24:26 +02:00
Jonathan Liu
0c5abb6ae5 qtbase: fix 0003-Add-external-hostbindir-option.patch
The isEmpty function takes a variable name instead of a value.
As $$[QT_EXTERNAL_HOST_BINS] is a built-in we need to assign it to a
variable to check if it is empty.

If QT_EXTERNAL_HOST_BINS is empty (as is the case for generated Qt 5
toolchains), we need to fallback to QT_HOST_BINS when determining
the path for tools such as moc otherwise you get the following error
when building a Qt project using the generated toolchain:
make[1]: /moc: Command not found

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-10 15:42:33 +02:00
Otavio Salvador
41ed13fbb5 tufao: Add recipe
Tufão is an asynchronous web framework for C++ built on top of Qt
inspired in Node.js.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-10 15:42:28 +02:00
Neena Busireddy
7f5c022e8c qt5-demo-extrafiles: Create recipe to include extrafiles for qt5 demo.
This recipe has all the extra files required for Qt5 demo.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-06 19:45:46 +02:00
Neena Busireddy
1d046542b6 quitindicators: Create recipe to demonstrate qt5 example.
This example shows the implementation of QUITIndicators components.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-06 19:45:46 +02:00