summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* qtbase: Fix installation of fonts and librariesupstream/jethrojethroSimon Aittamaa2016-04-251-2/+2
| | | | | | | | | | | | | | | 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>
* qtscript/qtwebkit: disable thumb for armv4 and armv5 only to fix segfault on ↵Andreas Müller2016-01-142-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 932b32c1c9e9a3ac833c82ff9273683345056ec7 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>
* qtconnectivity, qtsystems: fix bluetooth supportJavier Viguera2016-01-142-6/+12
| | | | | | | | | | | | 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>
* qtbase: support oe-device-extra.pri in configureSamuli Piippo2015-12-151-4/+6
| | | | | | | | | | | configure parses through the mkspec, but does not handle conditions at all, so oe-device-extra.pri was not included at configure phase. For example QT_QPA_DEFAULT_PLATFORM had no effect for configure. With include() on a separate line, oe-device-extra.pri is correctly included also in configure. Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: align target qmake paths/mkspecAndreas Müller2015-12-152-0/+77
| | | | | | | With this we can setup qt-creator to build/debug on target again. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwayland: remove unnecessary header installSamuli Piippo2015-11-111-8/+0
| | | | | | | 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>
* qtbase: add glib to PACKAGECONFIG_X11Andreas Müller2015-11-111-1/+1
| | | | | | | | | | | | | | | | configure script disables gtkstyle if glib is not set. See configure section: | # auto-detect GTK style support | if [ "$CFG_GLIB" = "yes" -a "$CFG_QGTKSTYLE" != "no" ]; then | ... | elif [ "$CFG_GLIB" = "no" ]; then | CFG_QGTKSTYLE=no | fi for more details. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: include chromium SRCREV in SRCPVMartin Jansa2015-11-061-1/+1
| | | | | | | | | | * some projects can update chromium and qtwebengine SRCREVs independenty (we do that in LuneOS) and without this qtwebengine won't rebuild automatically when just SRCREV_chromium is changed (other alternative is to add do_fetch[vardeps] += "SRCREV_chromium", but having both SRCREVs in SRCPV is useful in these cases so just include both. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* README: mention Yocto Project CompatibleMartin Jansa2015-11-062-0/+3
| | | | | | * add badge to be used on github wiki Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* 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/jethrojansa/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-153-0/+65
| | | | | | | | | 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-292-12/+14
| | | | | | | | | | * 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-218-42/+42
| | | | | | | | | | | | 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>
* qt5: add host paths to qt.confSamuli Piippo2015-09-211-4/+2
| | | | | | | | | 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>
* qt5: make populate_sdk_qt5 reusableSamuli Piippo2015-09-212-32/+33
| | | | | | | | | 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>
* 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>
* classes: qmake5: move QMAKE_MKSPEC_PATH variables to qmake5_pathsJonathan Liu2015-09-072-8/+8
| | | | | | | | 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>
* 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-072-113/+115
| | | | | | | | | * 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-265-1/+24
| | | | | | | | | | | | 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>