aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt
Commit message (Collapse)AuthorAgeFilesLines
* qtbase: fix QA warning of host uid leakageAnders Darander2015-10-271-1/+1
| | | | | | | | 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>
* libconnman-qt5: update HOMEPAGE/SRC_URIJonathan Liu2015-10-271-2/+2
| | | | | | | 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>
* packagegroup-qt5-toolchain-target: move qttools-plugins to RRECOMENDSIvan Sergio Borgonovo2015-10-271-1/+1
| | | | | | | | | * 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>
* packagegroup-qt5-toolchain-target: respect opengl DISTRO_FEATUREIvan Sergio Borgonovo2015-10-271-15/+15
| | | | | | | conditionally add to RDEPENDS all qt3d and -qmlplugins that depends on opengl Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to latest revision in 5.5 branch (5.5.1+)upstream/jansa/jethroMartin Jansa2015-10-2348-80/+80
| | | | | | | * this is probably last upgrade for jethro branch, master will switch to 5.6 soon Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: use extra .pri file from linux-oe-g++ mkspecSamuli Piippo2015-10-151-4/+6
| | | | | | | | | 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>
* qttools: fix cmake usage of linguist toolsCody P Schafer2015-10-152-0/+64
| | | | | | | | | 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>
* maliit-framework-qt5: fixed paths and enabled qt5-inputcontextJohannes Pointner2015-10-031-12/+12
| | | | | | | * 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>
* qtwebengine: enable cmakeMartin Jansa2015-09-291-3/+0
| | | | | | * it works fine in 5.5 version Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5_paths, qtbase: add OE_QMAKE_PATH_QT_FONTSMartin Jansa2015-09-291-12/+12
| | | | | | | | | | * people using fontconfig may want to change this path to ${datadir}/fonts, it was set to OE_QMAKE_PATH_LIBS in commit 1fdab229df6000eb52ac721a3ff4cdd218a0c308 to follow mkspecs/features/qpa/genericunixfontdatabase.prf fonts.path = $$[QT_INSTALL_LIBS]/fonts Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to latest revision in 5.5 branchesMartin Jansa2015-09-2562-275/+238
| | | | | | * qtbase/0008-Fix-build-with-clang-3.7.patch is now applied upstream Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* maliit-framework-qt5: bump to latest commit for getting Qt 5.5 compatibilityChristophe Chapuis2015-09-212-45/+1
| | | Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
* qtbase: Allow enabling harfbuzz via PACKAGECONFIGPascal Bach2015-09-211-0/+1
| | | | | Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libconnman-qt5: update to 1.0.97Jonathan Liu2015-09-211-2/+2
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nativesdk-qtbase: use fakeroot for do_generate_qt_environment_fileJonathan Liu2015-09-211-1/+1
| | | | | | | | | | | 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>
* qtbase: fix build for PACKAGECONFIG gles2Andreas Müller2015-09-212-0/+50
| | | | | | | | | | | | | | | | | 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>
* qt5: package Qt Quick Designer files separatelySamuli Piippo2015-09-211-1/+7
| | | | | | | | | | 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>
* qtwebkit: do not redefine all PACKAGESSamuli Piippo2015-09-211-2/+2
| | | | | | | | 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>
* Remove double slash when QT_DIR_NAME is emptyAdam YH Lee2015-09-216-22/+22
| | | | | | | | | | | | 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>
* libconnman-qt5: update to 1.0.92Jonathan Liu2015-09-211-2/+2
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Use `mkdir -p` when creating `/usr/bin`Adam YH Lee2015-09-211-1/+1
| | | | | | | | | | 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>
* qt5: remove redundant QT_MODULE assignmentsPascal Bach2015-09-212-4/+0
| | | | | | | 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>
* qt5: move QT_MODULE to qt5-git.incPascal Bach2015-09-212-2/+1
| | | | | | | | | 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>
* qtbase: use system sqlite3Samuli Piippo2015-09-211-1/+1
| | | | | | | 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>
* qtcanvas3d: add recipeSamuli Piippo2015-09-211-0/+12
| | | | | | Qt Canvas 3D module was added in Qt 5.5 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: fix build with newer glibc-2.22Martin Jansa2015-09-082-0/+38
| | | | | | | | | | | | | | | * 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>
* packagegroup-qt5-toolchain-target: add qttranslations-qtwebsocketsJonathan Liu2015-09-071-0/+1
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qttranslations: package translations for qtwebsocketsJonathan Liu2015-09-071-0/+5
| | | | | | | | | | | 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>
* qt3d: Remove GFDL-1.3 & DIGIA-TPLA-2.4 from LICENSE listJulien Brianceau \(jbriance\)2015-09-071-1/+1
| | | | | | | | | * 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>
* qtbase: Fix prefix substitution from OE to QT variableKhem Raj2015-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In recent commit c0cc4ff88292d1ddd9d30007e4947342d71ae77d 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>
* qt5: Update LGPL-Exception in LICENSE listJulien Brianceau \(jbriance\)2015-08-3123-25/+25
| | | | | | | | | | * 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>
* qtquickcontrols: Remove LGPL-2.1 from LICENSE listJulien Brianceau \(jbriance\)2015-08-311-1/+1
| | | | | | | * 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>
* qtbase: update patch that increases configured path length for nativesdkDenys Dmytriyenko2015-08-311-10/+17
| | | | | | | | 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>
* qtwebengine: fix problem with recursive qmake callSamuli Piippo2015-08-312-0/+72
| | | | | | | | | 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>
* qtlocation: use correct dependenciesSamuli Piippo2015-08-311-2/+1
| | | | | | | 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>
* qtbase: remove dependency to sqliteSamuli Piippo2015-08-311-1/+1
| | | | | | | | 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>
* qttools: use one recipe for all compilationsSamuli Piippo2015-08-313-67/+9
| | | | | | | | 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>
* qt5: improve support for native and nativesdk modulesSamuli Piippo2015-08-263-1/+5
| | | | | | | | | | | | 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>
* qt5: improve Qt module package handlingSamuli Piippo2015-08-261-2/+19
| | | | | | | | | | | 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>
* qtbase: Package the 3rd party libs if builtKhem Raj2015-08-261-2/+2
| | | | | | | | | | | | | | | | | | 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>
* recipes, conf: Direct QT_GIT to use github mirrorsKhem Raj2015-08-263-3/+3
| | | | | | | | 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>
* qtbase: Fix build with clangKhem Raj2015-08-269-18/+93
| | | | | | | | 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>
* qtbase: replace host paths with qmake built-in properties in qconfig.priJonathan Liu2015-08-261-0/+5
| | | | | | | | | | | | 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>
* qtbase: PACKAGECONFIGs for libinputSamuli Piippo2015-08-251-0/+1
| | | | | Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: add PACKAGECONFIG for libproxyJonathan Liu2015-08-251-0/+1
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: refresh patchesMartin Jansa2015-08-2517-212/+74
| | | | | | * based on b5.5.0 branches in https://github.com/meta-qt5/qtbase Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtquick1: allow to disable qtwebkit supportMartin Jansa2015-08-241-1/+8
| | | | | | | * qtwebkit is autodetected and in some setups it's no longer desired to build it Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase_git: ensure fonts go into own subdir by creating it firstDenys Dmytriyenko2015-08-241-1/+2
| | | | | | | | | Sometimes, when ${OE_QMAKE_PATH_LIBS} is empty, "cp -a" ends up copying font files there w/o preserving "fonts" directory, failing the following chown command. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5.inc: Fix packaging of qtquickcontrolsBelisko Marek2015-08-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes following: ERROR: QA Issue: qtquickcontrols: Files/directories were installed but not shipped   /usr/lib/qt5/qml/QtQuick/Controls/Styles/Flat/.debug   /usr/lib/qt5/qml/QtQuick/Controls/Styles/Flat/.debug/libqtquickextrasflatplugin.so   /usr/lib/qt5/qml/QtQuick/Extras/designer/qtquickextras.metainfo   /usr/lib/qt5/qml/QtQuick/Extras/designer/images   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/gauge-icon.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon16.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/dial-icon.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon16.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/piemenu-icon.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/piemenu-icon16.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon16.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon16.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/picture-icon.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/picture-icon16.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/dial-icon16.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/tumbler-icon16.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/gauge-icon16.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon.png   /usr/lib/qt5/qml/QtQuick/Extras/designer/images/tumbler-icon.png ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* add libx11-locale to qtbase-plugins RRECOMMENDSAndreas Müller2015-08-241-0/+2
| | | | | | | | | fixes: | Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>