aboutsummaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qtyocto/upstream/master' into 5.9Mikko Gronoff2017-11-021-2/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qtyocto/upstream/master: qt5-ptest.inc: fix qtxmlpatterns:do_install_ptest out-of-order call meta-qt5: Update to 5.9.2 release qt5: add missing commercial license qtxmlpatterns: Add HOMEPAGE info into recipe file. qttools: Add HOMEPAGE info into recipe file. qtsvg: Add HOMEPAGE info into recipe file. qtscript: Add HOMEPAGE info into recipe file. qtquick1: Add HOMEPAGE info into recipe file. qtdeclarative: Add HOMEPAGE info into recipe file. meta: drop a useless file qtbase-native: Force use of built-in pcre qtbase-native: set path to mkspec for cmake properly again qtbase: Fix build with musl/clang qtbase: Add OE clang specific mkspecs Conflicts: recipes-qt/qt5/qtcharts_git.bb recipes-qt/qt5/qtwebengine_git.bb Change-Id: I78ce0587cf7468bfdc22156ee8bbd24872f79c6a
| * qtbase: Add OE clang specific mkspecsKhem Raj2017-09-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | We can not piggy back clang anymore on existing OE mkspecs since starting 5.9 the configure is asking compiler for include paths and it needs to know if platform is clang-linux or g++-linux Fixes: ERROR: failed to parse default search paths from compiler output Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| * Upgrade to Qt 5.9.0Samuli Piippo2017-08-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adapt QtWebEngine recipe to use GN instead of GYP * add QtRemoteObjects and QtWebView as a new Qt modules * update available QtBase configure arguments * remove obsolete patches * patch all .pc files to remove build paths * include generated QML cache files in packages * the patch "configure paths for target qmake properly" could not be applied anymore and support must be done differently * QtWebEngine now requires gcc-multilib to be installed on the host system, because the host tools are built to the same bitness as the target (arm -> x86, aarch64 -> x86-64) * refresh the patches to match with b5.9* branches on: https://github.com/meta-qt5/qtbase https://github.com/meta-qt5/qtwebengine and 56-based branch on https://github.com/meta-qt5/qtwebengine-chromium Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* | qt5: remove use of OE_QMAKE_WAYLAND_SCANNERSamuli Piippo2017-10-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | This was never defined for nativesdk, which then broke sdk which had nativesdk-qtwayland included. Rather than add it there, remove its use everywhere, since it was not adding anything meaningful to the build. Change-Id: I1a739c794be71614ebe65c8fc0bdd62582f6e442 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Use correct HostPrefixSamuli Piippo2017-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | Different HostPrefix was used when building Qt and in external SDK's qt.conf. This caused e.g., wrong path in qmodule.pri for PKG_CONFIG_EXECUTABLE. Task-number: QTBUG-63097 Change-Id: I75a21d9f84f02b2fc1195d810bb3c2d6bdcdd9c6 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Merge remote-tracking branch 'qtyocto/upstream/master' into 5.9Mikko Gronoff2017-02-222-6/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: populate_sdk_qt5: use _append operator qmake5_base.bbclass: set qt.conf by environment variable again Conflicts: recipes-qt/qt5/nativesdk-qtbase_git.bb recipes-qt/qt5/qtbase-native_git.bb recipes-qt/qt5/qtbase_git.bb Change-Id: I8f47b06f1143be1a399ab4e8d2aa9cf32df4ad25
| * populate_sdk_qt5: use _append operatorMax Krummenacher2017-02-131-2/+2
| | | | | | | | | | | | | | | | | | | | populate_sdk assigns TOOLCHAIN_HOST_TASK and TOOLCHAIN_TARGET_TASK with ?=. Thus depending on the order in which populate_sdk and populate_sdk-qt5 get parsed the assignments from populate_sdk are discarded and the resulting sdk is missing among others the environment-setup script. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| * qmake5_base.bbclass: set qt.conf by environment variable againAndreas Müller2017-02-101-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt update to 5.8 caused fallout in meta-qt5-extra. It turned out that qmake pulled in many pointers to native sysroot. Native sysroot is qmake's default in case no configuration file qt.conf is set. The problem with the new way of setting qt.conf by cmd parameter is that is has to be set explicitly. For instance all the packages coming from [1] use autotools for configuration. These ask qmake for paths during configuration and build further Makefiles during compile. To patch these for additional cmd parameter is nasty business. Setting qt.conf when building all qtbase's causes errors during configuration. To fix this we set the filename to a non existent file so that Qt's default is used. This dirty hack was necessary because there was no way found to export an empty variable OE_QMAKE_QTCONF_PATH. This patch was tested by building huge parts of meta-qt5-extra. The meta-layers did not yet contain oe-core's recipe-specific-sysroot changes so master build might fail for missing dependencies. [1] http://www.rncbc.org/drupal/ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* | qt5: fix qtenginio build errorMikko Gronoff2017-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | bitbake meta-toolchain-qt5 command produces error for enginio module: "QA Issue: Enginio.pc failed sanity test (tmpdir)". - Modify sed command in qmake5_base.bbclass to include *.pc files instead of Qt5*.pc, thus including Enginio.pc. - Remove now obsolete install_append section from qtenginio_git.bb Change-Id: Ia517f15104d242632408ec39f7826107dc3e93f6 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Merge remote-tracking branch 'qtyocto/5.8' into 5.9Mikko Gronoff2017-02-151-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qtyocto/5.8 (upstream/master): qtwebkit: depends on gperf-native qtwebengine: disable generate_character_data qtwayland: fix build without xkbcommon-evdev qtwayland: Add libxkbcommon in the dependencies qtbase: create empty oe-device-extra.pri cmake_qt5.bbclass: add qtbase-native to DEPENDS Upgrade to Qt 5.8 qtbase: Remove comments about ICU and QtWebKit qtwebkit: Always enable icu in QT_CONFIG qtwebengine: use QT_GIT_PROTOCOL variable Change-Id: Idf617e8301dfa820b8fbbbdb2e09e53d18bcc8ae
| * cmake_qt5.bbclass: add qtbase-native to DEPENDSAnders Darander2017-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with recipe-specific-sysroot's, qmake can't be found: | CMake Error at WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:32 (message): | The imported target Qt5::Core references the file | | WORKDIR/recipe-sysroot-native/usr/bin/qt5/qmake | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake | | but not all the files it references. | | Call Stack (most recent call first): | WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:6 (_qt5_Core_check_file_exists) | WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:163 (include) | WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5/Qt5Config.cmake:31 (find_package) | CMakeLists.txt:56 (find_package) | This is solved by adding qtbase-native to the exported DEPENDS. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| * Upgrade to Qt 5.8Samuli Piippo2017-01-262-44/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The linux-oe-g++ mkspec is changed to use $$(...) operator to obtain the contents of an environment value when qmake is run instead of when Makefile is processed. All OE_QMAKE_xxx variables need to be exported for qmake to find them. configure's setBootstrapVariable function needs to change $$(..) to normal $(...) operator to work with qmake's Makefile. qt.conf generation for qtbase recipes is not needed, as configure will generate its own version based on configure arguments. Skip running qmake, since configure is now automatically invoked when it's run in qtbase's root folder. Update PACKAGECONFIGs for qtbase to match current configure options. The new Qt configuration system [1] can be used with a new variable EXTRA_QMAKEVARS_CONFIGURE, which takes both command line and feature arguments. Merge the two qtwayland recipes to one that supports all three targets (target, native, nativesdk) without need for additional patch. Recipes for new Qt modules: QtSCXML, QtNetworkAuth, QtGamepad. Removes qtdeclarative-render2d [1] https://www.mail-archive.com/development@qt-project.org/msg25257.html Change-Id: Ib37c4d7323e8b45aa2b171e8427b6ec15aaee213 Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* | qt5: Upgrade to Qt 5.9.0Samuli Piippo2017-02-131-1/+3
| | | | | | | | | | | | Change-Id: I446186476047563fd5377662d1827c45c2394140 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | qt5: update submodulesSamuli Piippo2016-12-091-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New configuration system is now used for more modules, so add new EXTRA_QMAKEVARS_CONFIGURE variable that can be used for configure modules with -[no-]feature flags. SHA1s are now from the release 5.8.0 branches, so need to add "nobranch=1" option so that there is no build break when release branches are removed. Add recipe for QtGamepad module, it's already used by Qt3D. Change-Id: I152b3b66b68c802d07445f4a7f1e81802308418e Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Merge remote-tracking branch 'qtyocto/upstream/master' into 5.8Samuli Piippo2016-11-161-1/+1
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: classes/qmake5_base.bbclass recipes-qt/qt5/nativesdk-qtbase_git.bb recipes-qt/qt5/qtbase_git.bb recipes-qt/qt5/qtwayland-native_git.bb recipes-qt/qt5/qtwayland_git.bb Change-Id: I4d383e069efb8f64b7469e414ab368c9ca0ff1ad
| * qt5: Use existing variables for paths of host toolsAndreas Oberritter2016-11-011-1/+1
| | | | | | | | | | | | | | | | Makes it possible to install qmake into ${bindir} without setting QT_DIR_NAME = "". Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* | qt5: update to Qt 5.8Samuli Piippo2016-09-301-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The linux-oe-g++ mkspec is changed to use $$(...) operator to obtain the contents of an environment value when qmake is run instead of when Makefile is processed. All OE_QMAKE_xxx variables need to be exported for qmake to find them. configure's setBootstrapVariable function needs to change $$(..) to normal $(...) operator to work with qmake's Makefile. qt.conf generation for qtbase recipes is not needed, as configure will generate its own version based on configure arguments. Skip running qmake, since configure is now automatically invoked when it's run in qtbase's root folder. Change-Id: I4c937c1acb3d204ac4560090cab3d0fc7e0e815a Reviewed-by: Risto Avila <risto.avila@qt.io> Reviewed-by: Jonathan Liu <net147@gmail.com> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Merge remote-tracking branch 'meta-qt5/master' into 5.7Samuli Piippo2016-08-232-1/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * meta-qt5/master: qtbase: fix drm dependency for eglfs PACKAGECONFIG qt5: upgrade to latest revisions in 5.7 branch qt5-opengles2-test: remove cmake_qt5.bbclass: when using _prepend don't forget to add space at the end qtquick1: fix qtwebkit support qtbase: add PACKAGECONFIG for journald logging qtserialbus: add recipe qtwayland: Rework recipe to allow PACKAGECONFIG use qtwayland: add dependency on libxcomposite qtcharts: Add dependency on qtmultimedia packagegroup-qt5-toolchain-target.bb: Add qtdeclarative-tools to RDEPENDS. Conflicts: classes/qmake5_base.bbclass recipes-qt/qt5/nativesdk-qtbase_git.bb recipes-qt/qt5/qt3d_git.bb recipes-qt/qt5/qtbase-native_git.bb recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch recipes-qt/qt5/qtbase/0012-Add-external-hostbindir-option-for-native-sdk.patch recipes-qt/qt5/qtbase_git.bb recipes-qt/qt5/qtconnectivity_git.bb recipes-qt/qt5/qtdeclarative_git.bb recipes-qt/qt5/qtimageformats_git.bb recipes-qt/qt5/qtlocation_git.bb recipes-qt/qt5/qtmultimedia_git.bb recipes-qt/qt5/qtquick1_git.bb recipes-qt/qt5/qtquickcontrols2_git.bb recipes-qt/qt5/qtquickcontrols_git.bb recipes-qt/qt5/qtsensors_git.bb recipes-qt/qt5/qtserialport_git.bb recipes-qt/qt5/qtsystems_git.bb recipes-qt/qt5/qttools_git.bb recipes-qt/qt5/qttranslations_git.bb recipes-qt/qt5/qtwayland-native_git.bb recipes-qt/qt5/qtwayland_git.bb recipes-qt/qt5/qtwebengine_git.bb recipes-qt/qt5/qtxmlpatterns_git.bb Change-Id: Ia3d047984b6249526d6bf14373114d0fc734c458
| * qt5: upgrade to latest revisions in 5.7 branchMartin Jansa2016-08-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * LIC_FILES_CHKSUM were changed because of this small change: commit 4343c4e731c3268614fc79c9c42b4e5e4d59d7e6 Author: Sze Howe Koh <szehowe.koh@gmail.com> Date: Tue Jun 14 19:12:35 2016 +0800 Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit" * -no-nis option was removed from qtbase in: commit 644d0e75240811212ed9fd0c21e3bd05db3ba5db Author: Ralf Nolden <nolden@kde.org> Date: Fri May 20 22:03:39 2016 +0200 Cleanup NIS support leftover from Qt 3/4 * allow to disable eglfs independently from gles2, because eglfs-egldevice may be autodetected when libdrm was built before qtbase since this upstream commit: commit 5c6d27b8dfa695ab04766a1711b00421dba9c7d0 Author: Ralf Nolden <nolden@kde.org> Date: Tue May 17 12:38:44 2016 +0200 Make eglfs-egldevice check work with pkgconfig as well and then it fails to build, because libdrm could be removed from sysroot and drm.h is missing. * recipes-qt/qt5/qtquick1/0001-qdeclarativetextinput-update-to-match-QWidgetLineCon.patch was resolved in upstream commit: commit 26229cfa0b729313893af5674d604e8692dbb946 Author: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> Date: Tue Apr 26 15:08:34 2016 +0200 QDeclarativeTextInput: update API to use setBlinkingCursorEnabled Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| * cmake_qt5.bbclass: when using _prepend don't forget to add space at the endDenys Dmytriyenko2016-08-031-1/+2
| | | | | | | | | | | | | | | | | | Previous commit 0717c65abc24d67887c93b773129156f714d033b introduced a bug by using _prepend w/o a space at the end, resulting in corrupted EXTRA_OEMAKE variable in packages that inherit cmake_qt5.bbclass. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* | Merge remote-tracking branch 'meta-qt5/master' into 5.7Samuli Piippo2016-06-031-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * meta-qt5/master: qtchooser: add new recipe qtvirtualkeyboard: add recipe qtdeclarative-render2d: add recipe qtdatavis3d: add recipe qtcharts: add recipe licenses: update technology preview license to match upstream cmake_qt5: prepend the Qt5 specific CMake variables to EXTRA_OECMAKE qtbase: add patch to make Qt5Config modules behave better with cmake builds qt5: Allow disabling SHA validation for branch qtbase: Reorder EGL libraries from pkgconfig and defaults: Change-Id: If0804ddb8c506e6f0d1ec32251cca6620dd97abe
| * cmake_qt5: prepend the Qt5 specific CMake variables to EXTRA_OECMAKEPascal Bach2016-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'meta-qt5/master' into 5.7Samuli Piippo2016-05-091-2/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * meta-qt5/master: qtwebkit: add PACKAGECONFIGs for libxcomposite, libxrender, fontconfig qtbase: remove fonts packages qtbase: Remove unsupported options xvideo, xinerama, xinput, gtkstyle qt5: upgrade to latest revisions in 5.7 branches qt5: add one more subfolder for ${PN}-qmldesigner replace base_contains by bb.utils.contains qt5: upgrade to latest revision in 5.6 branch qt5: set SRCREVs,PVs to 5.6.0 qtquickcontrols: fix compilation of examples/texteditor qtdeclarative: fix compilation of examples/qquickviewcomparison quazip: update to 0.7.2 qtquickcontrols2: initial add 5.6.0 qmake5_base: use remove-libtool bbclass recipes: use new PACKAGECONFIG_CONFARGS instead of EXTRA_OECONF qtwebengine: enable ARMv7VE support Add .gitignore to ignore .pyc/.pyo files Conflicts: classes/qmake5_base.bbclass recipes-qt/qt5/nativesdk-qtbase_git.bb recipes-qt/qt5/qt3d_git.bb recipes-qt/qt5/qt5-git.inc recipes-qt/qt5/qtbase-native_git.bb recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch recipes-qt/qt5/qtbase/0005-configure-bump-path-length-from-256-to-512-character.patch recipes-qt/qt5/qtbase/0006-QOpenGLPaintDevice-sub-area-support.patch recipes-qt/qt5/qtbase/0007-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch recipes-qt/qt5/qtbase/0008-configure-paths-for-target-qmake-properly.patch recipes-qt/qt5/qtbase/0009-Always-build-uic.patch recipes-qt/qt5/qtbase/0010-Add-external-hostbindir-option-for-native-sdk.patch recipes-qt/qt5/qtbase_git.bb recipes-qt/qt5/qtcanvas3d_git.bb recipes-qt/qt5/qtconnectivity_git.bb recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch recipes-qt/qt5/qtdeclarative_git.bb recipes-qt/qt5/qtgraphicaleffects_git.bb recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch recipes-qt/qt5/qtimageformats_git.bb recipes-qt/qt5/qtlocation_git.bb recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch recipes-qt/qt5/qtmultimedia_git.bb recipes-qt/qt5/qtquickcontrols_git.bb recipes-qt/qt5/qtscript_git.bb recipes-qt/qt5/qtsensors_git.bb recipes-qt/qt5/qtserialport_git.bb recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch recipes-qt/qt5/qtsvg_git.bb recipes-qt/qt5/qtsystems_git.bb recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch recipes-qt/qt5/qttools/0004-linguist-tools-cmake-allow-overriding-the-location-f.patch recipes-qt/qt5/qttools_git.bb recipes-qt/qt5/qtwayland-native_git.bb recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch recipes-qt/qt5/qtwayland_git.bb recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch recipes-qt/qt5/qtwebengine/0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch recipes-qt/qt5/qtwebengine_git.bb recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch recipes-qt/qt5/qtwebkit/0003-Exclude-backtrace-API-for-non-glibc-libraries.patch recipes-qt/qt5/qtwebkit_git.bb recipes-qt/qt5/qtwebsockets_git.bb recipes-qt/qt5/qtxmlpatterns_git.bb Change-Id: Ifab26e8f8a0c8cb8af94509f657161de09c182d7
| * qmake5_base: use remove-libtool bbclassMartin Jansa2016-04-201-3/+1
| | | | | | | | | | | | | | | | | | * 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>
* | qt5: Add mingw supportSamuli Piippo2016-04-132-32/+42
| | | | | | | | | | Change-Id: Ibd6449396be71761e10c84bdb9a9b1888affc618 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* | qmake5_base: use remove-libtool bbclassMartin Jansa2016-03-021-3/+1
|/ | | | | | | | | * 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>
* qmake5_base: delete *.la filesMartin Jansa2016-02-171-2/+5
| | | | | | | | | | | | * 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>
* cmake_qt5.bbclass: add DEPENDS to qtbaseMikko Rapeli2015-12-151-0/+2
| | | | | | | | All packages using this class need it and it is too easy for developers to miss and leave race conditions into builds. Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to latest revision in 5.6 branch (5.6.0-alpha1+)Martin Jansa2015-11-111-2/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qttools: fix cmake usage of linguist toolsCody P Schafer2015-10-151-0/+1
| | | | | | | | | 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>
* qmake5_paths, qtbase: add OE_QMAKE_PATH_QT_FONTSMartin Jansa2015-09-291-0/+2
| | | | | | | | | | * 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>
* Remove double slash when QT_DIR_NAME is emptyAdam YH Lee2015-09-212-20/+20
| | | | | | | | | | | | 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>
* 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>
* 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>
* qt5: improve support for native and nativesdk modulesSamuli Piippo2015-08-262-0/+19
| | | | | | | | | | | | 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>
* populate_sdk_qt5.bbclass: set paths correctly in qt.confJonathan Liu2015-08-261-15/+16
| | | | | | | | 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>
* qmake5: don't always look in directories recursivelyAlexandre Belloni2015-02-191-2/+5
| | | | | | | | | | | | | | QT needs to be compiled without the -r parameter from the qmake command line. This is necessary to avoid those errors when building qtdeclarative or qt3d without opengl for example: Project ERROR: Unknown module(s) in QT: quick-private or Project ERROR: Unknown module(s) in QT: quick Also update comments regarding the dependencies. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5_base: add *.prf to SSTATE_SCAN_FILESMartin Jansa2015-01-061-1/+1
| | | | | | | | | * 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>
* qmake5: set OE_QMAKE_INCDIR_QTAnders Darander2014-12-011-0/+1
| | | | | | | | | | | 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>
* Fix SDK environment settingOtavio Salvador2014-10-161-20/+1
| | | | | | | | | 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>
* populate_sdk_qt5.bbclass: Fix PACKAGE_GROUP deprecation warningJacob Kroon2014-05-091-1/+1
| | | | | | | | | Fixes the following warning: WARNING: PACKAGE_GROUP is deprecated, please use FEATURE_PACKAGES instead Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* populate_sdk_qt5.bbclass: Add support for qtcreator-debugOtavio Salvador2014-02-281-0/+2
| | | | | | | | | | | | | | This adds a new image feature for easier remote debugging with QtCreator. The qtcreator-debug needs to be added as a valid item for image features and having it inside the populate_sdk_qt5 is too late. User will see a parser error as OE-Core images does not inherit the classs. The possible workaround for it is to include it inside layer.conf file until a kind of "bbclassappend" support is in place. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Giulian Vivan <giulian@ossystems.com.br>
* populate_sdk_qt5.bbclass: Fix symlink location for QtCreator useOtavio Salvador2014-02-251-1/+1
| | | | | | | | | The QtCreator is quite broken regarding finding the mkspecs files; so to workaround it we must to add a symlink to it. The workaround was in place but in the wrong sysroot, it must to be in the /native/ one. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Jonathan Liu <net147@gmail.com>
* qmake5_paths.bbclass: Use Qt version path for headersOtavio Salvador2014-02-241-1/+1
| | | | | | | | When looking for Qt5 headers we ought to use the Qt5 specific path. In case the distribution wants to have a flat tree it can set QT_DIR_NAME and it will still works as expected. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qmake5_base.bbclass: Fix mkspec path when building nativesdk binariesOtavio Salvador2014-02-171-0/+1
| | | | | | | | When building nativesdk binaries we ought to rely in the native mkspecs. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Denys Dmytriyenko <denys@ti.com>
* populate_sdk_qt5.bbclass: Allow generation of toolchainOtavio Salvador2014-02-111-0/+54
| | | | | | | | This allow the toolchain generation using '-c populate_sdk' as it includes the need host libraries into the SDK. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qttools-native: Add module to build lrelease+lupdate+lconvertBhooshan Supe2013-09-131-9/+0
| | | | | | | | | | | | | | | | | | | | :Release Notes: Add optional Qt-Tools module. :Detailed Notes: Qt provide optional Qt-Tools like "lrelease", etc. In absence of these tools one can not have i18n and l10n changes automated in build. Adding "qttools-native" to "meta-qt5" Open Embedded layer provides those tools. Using Qt-Tools i18n and l10n changes can be auomated. :Testing Performed: :QA Notes: :Issues Addressed: [GF-11028] Enable build of Qt localization tools in the Qt component Change-Id: Ieb679249a05501a6ccb25108903a0fd48d4014f0
* classes: cmake_qt5: export all qt5 related paths to cmakeSimon Busch2013-08-021-1/+28
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* classes: add new cmake_qt5 classSimon Busch2013-07-251-0/+6
| | | | | | | A cmake specific qt5 class which sets all required configuration parameters to successfully compile cmake based applications. Signed-off-by: Simon Busch <morphis@gravedo.de>