Commit Graph

581 Commits

Author SHA1 Message Date
Martin Jansa
cf940de404 README: mention Yocto Project Compatible
* add badge to be used on github wiki

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-06 19:22:58 +01:00
Anders Darander
f432ddee16 qtbase: fix QA warning of host uid leakage
By using cp, the wrong uid ended up in the package. Use install,
as that will automatically handle the uid and gid.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-27 12:03:01 +01:00
Jonathan Liu
fe7850c411 libconnman-qt5: update HOMEPAGE/SRC_URI
The project has moved from github.com to merproject.org.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-27 12:03:01 +01:00
Ivan Sergio Borgonovo
8ec05fe446 packagegroup-qt5-toolchain-target: move qttools-plugins to RRECOMENDS
* since it's built just with examples
* qttools-plugins contains just example plugins for qtcreator and get
  built just with examples. A working qt5 toolchain doesn't really
  require it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-27 12:03:01 +01:00
Ivan Sergio Borgonovo
cbec759fff packagegroup-qt5-toolchain-target: respect opengl DISTRO_FEATURE
conditionally add to RDEPENDS all qt3d and -qmlplugins that
depends on opengl

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-27 12:03:01 +01:00
Martin Jansa
89038bffd2 qt5: upgrade to latest revision in 5.5 branch (5.5.1+)
* this is probably last upgrade for jethro branch, master will switch
  to 5.6 soon

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 13:08:53 +02:00
Samuli Piippo
37693b5357 qt5: use extra .pri file from linux-oe-g++ mkspec
Load additional oe-device-extra.pri in the default linux-oe-g++ mkspec to
allow simple changing of target dependent values. This is useful for any
target that needs to specify e.g., QMAKE_LIBS_EGL or other additional configs.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-15 17:11:41 +02:00
Cody P Schafer
1fdc9a3f31 qttools: fix cmake usage of linguist tools
Without this, Qt5LinguistTools/Qt5LinguistToolsConfig.cmake would
attempt to locate lrelease and lupdate under prefix, even while we were
cross-compiling and prefix points at the native system's root dirs.

Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-15 17:10:36 +02:00
Johannes Pointner
51b4620392 maliit-framework-qt5: fixed paths and enabled qt5-inputcontext
* Fixes paths for qt5 using qmake5_paths variables and enables qt5-inputcontext.

Signed-off-by: Johannes Pointner <johannes.pointner@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-03 12:52:48 +02:00
Martin Jansa
d8a4d97e37 qtwebengine: enable cmake
* it works fine in 5.5 version

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-29 21:10:17 +02:00
Martin Jansa
394345ca29 qmake5_paths, qtbase: add OE_QMAKE_PATH_QT_FONTS
* people using fontconfig may want to change this path to
  ${datadir}/fonts, it was set to OE_QMAKE_PATH_LIBS in
  commit 1fdab229df
  to follow mkspecs/features/qpa/genericunixfontdatabase.prf
  fonts.path = $$[QT_INSTALL_LIBS]/fonts

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-29 17:41:59 +02:00
Martin Jansa
8f765ed711 qt5: upgrade to latest revision in 5.5 branches
* qtbase/0008-Fix-build-with-clang-3.7.patch is now applied upstream

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-25 14:24:08 +02:00
Christophe Chapuis
52496ed3e2 maliit-framework-qt5: bump to latest commit for getting Qt 5.5 compatibility
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
2015-09-21 11:56:53 +02:00
Pascal Bach
1ea73d69f4 qtbase: Allow enabling harfbuzz via PACKAGECONFIG
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:53 +02:00
Jonathan Liu
8b1c0dccac libconnman-qt5: update to 1.0.97
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:53 +02:00
Jonathan Liu
d47c73554b nativesdk-qtbase: use fakeroot for do_generate_qt_environment_file
The do_generate_qt_environment_file task wasn't running in the fakeroot
environment so qt5.sh was not owned by root:root but the user running
the builds.

Fixes host-user-contaminated QA warning.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:53 +02:00
Andreas Müller
09caddadc3 qtbase: fix build for PACKAGECONFIG gles2
fixes:

| In file included from /home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/X11/Xlib.h:44:0,
|                  from /home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/EGL/eglvivante.h:244,
|                  from /home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/EGL/eglplatform.h:38,
|                  from /home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/EGL/egl.h:39,
|                  from /home/superandy/tmp/oe-core-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/platformsupport/eglconvenience/qeglplatformscreen_p.h:52,
|                  from /home/superandy/tmp/oe-core-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/platformsupport/eglconvenience/qeglplatformscreen.cpp:34:
| ../../include/QtCore/../../../git/src/corelib/io/qurl.h:131:9: error: expected identifier before numeric constant
|          None = 0x0,
|          ^

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Samuli Piippo
9c036b3bac qt5: package Qt Quick Designer files separately
Some modules (at least Qt Quick Controls and Qt Canvas 3d) have extra
files for Qt Quick Designer integration, which are not needed in the image.
Create new ${PN}-qmldesigner package that includes those files instead of
${PN}-qmlplugins.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Samuli Piippo
5147e23178 qtwebkit: do not redefine all PACKAGES
Modify qtwebkit recipe so that it removes the conflicting {PN}-examples*
packages, instead of redefining all packages again.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Adam YH Lee
6f0dd9f7cb Remove double slash when QT_DIR_NAME is empty
When `QT_DIR_NAME` is defined as an empty string (default is "qt5"),
package.bbclass will throw lots of QA warnings because now the paths contain
double slashes ("//").

We can address these warnings by explicitly defining a slash in the
variable itself.

Signed-off-by: Adam YH Lee <adam.yh.lee@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Jonathan Liu
001ee936e9 libconnman-qt5: update to 1.0.92
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Adam YH Lee
53a96286bb Use mkdir -p when creating /usr/bin
When QT_DIR_NAME is altered, /usr/bin` is checked. This directory
is more often than not already created. Hence `mkdir` with `-p` should
be used. Currently it results in a build failure since the directory
already exists.

Signed-off-by: Adam YH Lee <adam.yh.lee@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Pascal Bach
3a16204dc3 qt5: remove redundant QT_MODULE assignments
QT_MODULE is already set to the correct value by qt5-git.inc

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Pascal Bach
f42c4491f9 qt5: move QT_MODULE to qt5-git.inc
QT_MODULE is only used in conjunction with qt5-git.inc.
It feels more consistent to have the variable in the context of the file
where it is used instead of having it in a separate file.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Samuli Piippo
12fdbd5e43 qtbase: use system sqlite3
Use system sqlite3 instead of the Qt's internal copy.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Samuli Piippo
f783775df7 qtcanvas3d: add recipe
Qt Canvas 3D module was added in Qt 5.5

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Samuli Piippo
d44e7ee1f4 qt5: add host paths to qt.conf
Add missing HostData and HostLibraries paths to qt.conf for qmake.
Using the target sysroot for the HostData, allows us to remove the
symbolic link for the mkspecs.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:52 +02:00
Samuli Piippo
9c1ac990f2 qt5: make populate_sdk_qt5 reusable
Split the populate_sdk_qt5 bbclass into two parts, where the generation
of qt.conf is moved to a new base bbclass. It is reusable in toolchain
meta recipes that use different tasks than meta-toolchain-qt5.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-21 11:56:51 +02:00
Martin Jansa
3f5430de74 qtwebengine: fix build with newer glibc-2.22
* netdb.h staged by glibc-2.22 recipe defines struct addrinfo inside
  __USE_XOPEN2K unlike other versions which are using __USE_POSIX
* fixes:
  | ../../../src/3rdparty/chromium/third_party/boringssl/src/crypto/bio/socket_helper.c: In function 'bio_ip_and_port_to_socket_and_addr':
  | ../../../src/3rdparty/chromium/third_party/boringssl/src/crypto/bio/socket_helper.c:40:19: error: storage size of 'hint' isn't known
  |    struct addrinfo hint, *result, *cur;
  |                    ^
  | ../../../src/3rdparty/chromium/third_party/boringssl/src/crypto/bio/socket_helper.c:58:36: error: dereferencing pointer to incomplete type
  |    for (cur = result; cur; cur = cur->ai_next) {
  |                                     ^

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-08 16:13:58 +02:00
Jonathan Liu
bfddb2291e classes: qmake5: move QMAKE_MKSPEC_PATH variables to qmake5_paths
qmake5_paths.bbclass refers to QMAKE_MKSPEC_PATH_TARGET which is not
defined when inheriting qmake5_paths directly instead of qmake5_base.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-07 17:05:42 +02:00
Jonathan Liu
dd6ba2b525 packagegroup-qt5-toolchain-target: add qttranslations-qtwebsockets
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-07 17:05:42 +02:00
Jonathan Liu
08529ccd98 qttranslations: package translations for qtwebsockets
Fixes the following warning:

WARNING: QA Issue: qttranslations: Files/directories were installed but not shipped in any package:
  /usr/share/qt5/translations/qtwebsockets_fr.qm
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-07 17:05:42 +02:00
Julien Brianceau \(jbriance\)
67f94fb249 qt3d: Remove GFDL-1.3 & DIGIA-TPLA-2.4 from LICENSE list
* qt3d is not a technical preview anymore since 5.5
* Take the opportunity to update TPLA license, using
  LICENSE.PREVIEW.COMMERCIAL file from qtbase

Signed-off-by: Julien Brianceau <jbriance@cisco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-07 17:05:42 +02:00
Khem Raj
c7db26d146 qtbase: Fix prefix substitution from OE to QT variable
In recent commit c0cc4ff882
it was changed to replace STAGING_DIR_NATIVE and STAGING_DIR_HOST with
qmake variables, however there is a little difference between them and
they are not one to one mapped, OE sysroot variable does not contain
prefix (/usr) at the end but QT_INSTALL_PREFIX and QT_HOST_PREFIX does,
so we need to take care of substituting the full string, so qmake can
formulate the header and library search paths correctly. It fixes the
issue where qmake started to have wrong search paths with duplicated
<sysroot>/usr/usr/include/... added to compiler commandline and which
meant that compiler did not find the headers in sysroot while building
components like qtwebkit

* replace ${STAGING_DIR_HOST} instead of ${STAGING_EXECPREFIXDIR}

Replacing ${STAGING_EXECPREFIXDIR} with the $$[QT_INSTALL_PREFIX] qmake
built-in variable only covers ${STAGING_DIR_HOST}/usr and misses the
following additional host paths:
${STAGING_DIR_HOST}/lib
${STAGING_DIR_HOST}

Replace ${STAGING_DIR_HOST} instead with $$[QT_SYSROOT] so that sed
replaces all the host paths contained in qconfig.pri instead of only
some of them. This avoids host paths being referenced on the SDK host
when using the Qt SDK.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-07 17:05:42 +02:00
Julien Brianceau \(jbriance\)
c16b932be3 qt5: Update LGPL-Exception in LICENSE list
* Since 5.5, Qt modules (except qtimageformats) have moved from "Digia"
  to "The Qt Company" in their LGPL_Exception file
* qtwebkit-examples doesn't include a LGPL Exception file, so remove
  it from LICENSE list

Signed-off-by: Julien Brianceau <jbriance@cisco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:49:35 +02:00
Julien Brianceau \(jbriance\)
c404c03cfd qtquickcontrols: Remove LGPL-2.1 from LICENSE list
* LGPLv21 has been removed since 5.5 release

Signed-off-by: Julien Brianceau <jbriance@cisco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:49:35 +02:00
Denys Dmytriyenko
069e4d7067 qtbase: update patch that increases configured path length for nativesdk
With 5.5, the array of paths got split into at least 3 separate variables,
but only one of them was increased. Similarly, increase the other 2.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:49:35 +02:00
Samuli Piippo
06e1f5b92e qtwebengine: fix problem with recursive qmake call
On RaspberryPi, the EGL include paths were not included in the generated
ninja build files, because the pro files were run in wrong order. Fix the
order, but remove compiler overrides, as they would break the build again.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:49:35 +02:00
Samuli Piippo
d5b0ba874e qtlocation: use correct dependencies
Update dependencies for QtLocation module based on the sync.profile

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:49:35 +02:00
Samuli Piippo
da30a706ac qtbase: remove dependency to sqlite
Qt defaults to bundled version of sqlite, so there is no need
to have dependency to sqlite3.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:49:35 +02:00
Samuli Piippo
a6df86ea4b qttools: use one recipe for all compilations
Instead of separate recipes for target, native and nativesdk, use
one recipe with BBCLASSEXTEND in place.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:49:29 +02:00
Samuli Piippo
22c28fee3c qt5: improve support for native and nativesdk modules
Change qmake.bbclass to support building native and nativesdk packages,
so that qmake or qt5-module can be inherited and BBCLASSEXTEND used to
create native and nativesdk packages.

qtxmlpatterns and qtdeclarative native and nativesdk modules are required
for Qt Quick Compiler.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:21:13 +02:00
Samuli Piippo
f969c48953 qt5: improve Qt module package handling
Make it simpler to add Qt modules to image and toolchain, without need
to specify each subpackage separately. All Qt modules should provide
the ${PN} package, so create it even if empty. Make the ${PN} package
also recommend all subpackages that are normally required at run time,
namely plugins. Do the same for ${PN}-dev and ${PN}-dbg packages.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:21:13 +02:00
Khem Raj
c44912563c qtbase: Package the 3rd party libs if built
Third-party libs e.g. libqtfreetype when built is not packaged and hence
goes missing in sysroot, then rest of qt components like qtwayland gets
its configuration from qtbase to enable it but then does not find the
internal version of libqtfreetype.a which is what qtbase directs it to
use and as a result it starts throwing linking errors e.g.

x86_64-angstrom-linux-ld.gold: error: cannot find -lqtfreetype

This patch installs the needed libs into dev packages

Remove a trailing whitespace as well while at it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tested-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:20:45 +02:00
Khem Raj
813103e622 recipes, conf: Direct QT_GIT to use github mirrors
This helps in load balancing code.qt.io may be overloaded
and bails out occasionally when doing fresh clones

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:12:26 +02:00
Khem Raj
c16daba217 qtbase: Fix build with clang
This patch is a backport from upstream qt5 fixes building with clang
from meta-clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:12:26 +02:00
Jonathan Liu
c0cc4ff882 qtbase: replace host paths with qmake built-in properties in qconfig.pri
This avoids qconfig.pri in the Qt SDK incorrectly including paths from
the build host that may not exist on the SDK host. As the paths are
now correct, qmake can correctly detect system include paths and use
-isystem instead of -I for Qt's include directories which allows the
suppression of warnings from library headers when building Qt
applications.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:12:26 +02:00
Jonathan Liu
b758a8f660 populate_sdk_qt5.bbclass: set paths correctly in qt.conf
Set paths correctly in qt.conf so that $$[QT_SYSROOT] and
$$[QT_INSTALL_PREFIX] can be used from qmake.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-26 17:12:26 +02:00
Otavio Salvador
97ce05c0b2 Merge pull request #48 from devcurmudgeon/devcurmudgeon-patch-1
gitorious no longer exists: mention gitlab instead
2015-08-25 14:04:23 -03:00
Paul Sherwood
45bc689365 gitorious no longer exists: mention gitlab instead 2015-08-25 15:54:29 +01:00