aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qt5.inc
Commit message (Collapse)AuthorAgeFilesLines
* qt5.inc: package metatypes filesMartin Jansa2020-03-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * enabled since qtbase commit: commit c5e9d7e504172707f7705d03ae27006c45eb5eac Author: Ulf Hermann <ulf.hermann@qt.io> Date: Wed Aug 28 16:09:25 2019 +0200 Generate metatypes.json for QtCore, QtGui, and QtWidgets These libraries contain types which are exposed to QML from qtdeclarative. Change-Id: Ie0edaef94fcb40074b6f6b2ea1a1c3a77ed3e9a9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> * fixes: ERROR: qtbase-5.14.99+gitAUTOINC+2e7a28958d-r0 do_package: QA Issue: qtbase: Files/directories were installed but not shipped in any package: /usr/lib/metatypes /usr/lib/metatypes/qt5gui_metatypes.json /usr/lib/metatypes/qt5core_metatypes.json /usr/lib/metatypes/qt5widgets_metatypes.json Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. qtbase: 4 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: use PACKAGECONFIG to disable tests and examplesSamuli Piippo2020-01-111-2/+2
| | | | | | | | Currently if qtbase has tests or examples enabled, they will be enabled for every Qt module as well. Change the PACKAGECONFIG options so that they need to be explicitly enabled for each Qt module. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qt: package all files in ${PN}-examplesMartin Jansa2018-09-261-19/+3
| | | | | | | | * including static and dev files * and disable QA warning about that: ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA Issue: non -staticdev package contains static .a library: qtbase-examples path '/work/core2-64-oe-linux/qtbase/5.11.2+gitAUTOINC+49efea26a5-r0/packages-split/qtbase-examples/usr/share/examples/widgets/tools/plugandpaint/plugins/libpnp_basictools.a' [staticdev] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt: use single -dev and -staticdev packageMartin Jansa2018-09-261-17/+12
| | | | | | * don't create separate examples-dev and examples-staticdev for all modules Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt: remove unnecessary FILES.*-dbg variables for packaging .debug filesMartin Jansa2018-09-191-38/+1
| | | | | | | | | | | | | | | | | | | | * package.bbclass can do it automatically since: commit da5ec06814e105451cca11cce76b5c5231110524 Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Tue Dec 15 15:38:54 2015 +0000 package: Add auto package splitting of .debug files * .debug files for examples were incorrectly picked by qtbase-qmlplugins-dbg causing following QE error, because unlike qtbase-examples-dbg we don't have libdir in INSANE_SKIP. ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA Issue: qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/plugandpaint/plugins/.debug/libpnp_extrafilters.so qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/styleplugin/styles/.debug/libsimplestyleplugin.so qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/echoplugin/plugins/.debug/libechoplugin.so [libdir] ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: add option to build Qt5 staticallySamuli Piippo2018-07-041-0/+22
| | | | | | | | | | | | | | | | Add PACKAGECONFIG that enables static build for qtbase and consequently to all Qt recipes. This can be enabled with DISTRO_FEATURE 'qt5-static', which also adds qtdeclarative-native dependency to all recipes that depend on qtdeclarative as it's required for qmlimportscannertool. Building examples and tests with static build can take excessive amounts of time and disk space, so disabling DISTRO_FEATURE 'ptest' and PACKAGECONFIGs 'examples' from qtbase is advised. Not all recipes support static builds and those are not fixed here. Change-Id: Ia0e2a2467cd42d4395ed5292a645fd1d89ad521a Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qt5: remove all references to qtquick1 import pathSamuli Piippo2018-07-031-13/+0
| | | | | | | Since qtquick1 recipes have been removed, there is no need to have OE_QMAKE_PATH_IMPORTS anymore. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qt5: add common PACKAGECONFIG for QtQuickCompilerSamuli Piippo2018-06-211-0/+2
| | | | | | | | | | | The previously commercial-only QtQuickCompiler is now merged into qtdeclarative. Add common PACKECONFIG which can be used to enable it, and by default enable it for Qt Charts and Qt VirtualKeyboard. https://doc-snapshots.qt.io/qt5-5.11/qtquick-deployment.html#compiling-qml-ahead-of-time Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: fix a regressionMing Liu2018-01-151-7/+0
| | | | | | | | | | | | | | | | A flaw was introduced by commit b8a236df: [ qt5: Fix cmake config files ] Removing ${S}/include must be done before configure script being called, but it's not in that case for qtbase-native recipe after the commit, that is saying, ${S}/include was removed after configure being called, which causes compiling issues for native build. Further more, the logic introduced by commit b8a236df should only apply to qtbase recipes, so they should be moved to qtbase recipes as well. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Upgrade to Qt 5.9.0Samuli Piippo2017-08-201-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Upgrade to Qt 5.8Samuli Piippo2017-01-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: add one more subfolder for ${PN}-qmldesignerSamuli Piippo2016-05-021-0/+1
| | | | | | | | QtQuickControls2 has deeper folder structure, make sure that files go to correct packages. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* replace base_contains by bb.utils.containsAndreas Müller2016-05-021-1/+1
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: skip libdir for ${PN}-dbg and dev-elf for ${PN}-examples-devMartin Jansa2016-02-201-1/+2
| | | | | | * the examples are installed in locations, QA checks don't like Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: use common PACKAGECONFIG to build examplesSamuli Piippo2016-02-081-0/+3
| | | | | | | | | | | | | | Each Qt module's examples can now be enabled with PACKAGECONFIG. Replace the webkit patch with a PACKAGECONFIG option and follow common practice by not building QtWayland examples by default, those can be enabled in a .bbappend with PACKAGECONFIG += "examples" Enabling PACKAGECONFIG[examples] in qtbase, will still cause every Qt module to build their examples. Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: add extra path to qmlpluginsSamuli Piippo2016-01-141-0/+1
| | | | | | | | | | | QtDeclarative installs file builtins.qmltypes under $$[QT_INSTALL_QML], which was not included in the qmlplugins package. Fix QA Issue: Files/directories were installed but not shipped with qtdeclarative SRCREV 94e9fab2 Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: overwrite RRECOMMENDS_${PN} for native packagesSamuli Piippo2015-12-151-1/+2
| | | | | | | | | | The class-target overwrite for RRECOMMENDS_${PN} prevented appending new packages to the list in other recipes, without using the class-target overwrite there as well. Instead set RECOMMENDS to empty for native packages, where it is not needed. Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.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>
* qt5: move QT_MODULE to qt5-git.incPascal Bach2015-09-211-2/+0
| | | | | | | | | 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>
* qt5: improve support for native and nativesdk modulesSamuli Piippo2015-08-261-1/+1
| | | | | | | | | | | | 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>
* 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>
* qt5: merge .inc and _git.bb filesMartin Jansa2015-05-281-1/+0
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5.inc: suppress QA warnings about examples libs not in libdirDenys Dmytriyenko2015-04-161-0/+6
| | | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5: don't always look in directories recursivelyAlexandre Belloni2015-02-191-0/+2
| | | | | | | | | | | | | | 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>
* qt5.inc: Fix packaging of architecture independent dataOtavio Salvador2015-02-131-1/+1
| | | | | | | | | | | | | | | The architecture independent data were being added to the '-dev' package however it shouldn't be. For example the QtWebEngine had the translation and the resources package were not being installed with the main package, as it should be. This commit changes the qttools and qttranslations recipes as well so those keep its contents in the respective packages: qttools: add the phrasebooks in the qttools-tools package qttranslations: add a new subpackage for qtquickcontrols Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qt5.inc: Fix packaging of pluginsOtavio Salvador2014-06-061-1/+5
| | | | | | | | | | | | | | | The qtmultimedia module install the plugins in a sub-directory however those were not being packaged. This patch fixes following QA error: ERROR: QA Issue: qtmultimedia: Files/directories were installed but not shipped /usr/lib/qt5/plugins/video /usr/lib/qt5/plugins/video/videonode /usr/lib/qt5/plugins/video/videonode/libimx6vivantevideonode.so /usr/lib/qt5/plugins/video/videonode/.debug /usr/lib/qt5/plugins/video/videonode/.debug/libimx6vivantevideonode.so Reported-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qtbase/qtwebkit: drop ICU variableAndreas Oberritter2014-03-051-4/+0
| | | | | | | | | | Pango doesn't seem to be a drop-in replacement for ICU, so using it as a dependency for the -icu option won't work. QtWebKit has a hard dependency on icu. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit-examples: add RDEPENDS for ca-certificatesAndre McCurdy2014-02-221-0/+2
| | | | | | | | If qtbase is configured with openssl support then the qtwebkit browser example apps require CA certificates. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: Fix cmake config filesMartin Jansa2014-01-121-0/+8
| | | | | | | | * without syncqt cmake config files have empty PRIVATE_INCLUDE_DIRS remove pregenerated header files and create .git dir to let qmake call syncqt and generate headers like when building from git recipes Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to 5.2.0Martin Jansa2014-01-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * drop 0027-Fix-misaligned-selection-region-with-text-when-cente.patch resolved in upstream commit 5d8a882c11201a29475c5ea71cfb76c9de6573f5 * drop 0020-Use-BGRA-extension-in-bindTexture.patch resolved in upstream commit e1325cf26e146b68725cc1a0a02b274ce3dfbe5c * drop 0008-wayland-scanner-disable-silent-rules.patch resolved upstream in: commit 2ff2a7c32d76b9e58b800f12469f112cfdb6ad3c Author: Jan Arne Petersen <jan.petersen@kdab.com> Date: Fri Jul 19 14:35:19 2013 +0200 Fix wayland-scanner to work with CONFIG+=silent * squash to match more with structure of https://github.com/meta-qt5/qtbase/tree/stable * qtmodules: bump SRCREVs for 5.2.0 tags now all modules using qt5-git should be newer than any 5.1.* version * qtbase: fix paths in packageconfig *.pc files include- and lib-paths contained build-sysroot paths * qtwebkit: Explicitly add ICU libraries to LIBS fails to build without this * qtjsbackend: remove for git versions Found in [1]: Qt Qml is now using its own built-in Javascript engine and does not depend on V8 anymore. As such the QtJSBackend shared library has disappeared. [1] http://blog.qt.digia.com/blog/2013/09/30/qt-5-2-alpha-available/ * qt5: Upgrade 5.1.1 recipes to 5.2.0 to match git recipes qtjsbackend is now completely gone it allows to share more .patch files and configuration in .inc again Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5.inc: allow to set the package arch globallyAndré Draszik2013-12-211-0/+12
| | | | | | | | | | | | | | | | | | If Qt5 (qtbase) is machine specific, then all packages depending on qtbase will also be machine specific, because the (initial) qtbase configuration becomes part of Qt5/qmake, thus affecting builds of packages built against this specific version of qtbase. Since it is not feasible to add PACKAGE_ARCH=... to each and every recipe that is built using qmake and depends on Qt5, we introduce a new variable, QT_PACKAGES_ARCH, that can be set by the machine configuration as needed. We have to be careful though to only change the architecture of the resulting packages if we're not compiling a 'native' package. Signed-off-by: André Draszik <andre.draszik@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5.inc: extend FILES_${PN}-examples-*jansa/test-2013-10-08Eric BENARD2013-10-081-0/+6
| | | | | | | | | | this fix : ERROR: QA Issue: non debug package contains .debug directory: qtquick1-examples path /work/armv7a-vfp-neon-oe-linux-gnueabi/qtquick1/5.1.1-r0/packages-split/qtquick1-examples/ usr/share/qt5/examples/declarative/cppextensions/plugins/org/qtproject/TimeExample/.debug/libqmlqtimeexampleplugin.so Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* devshell: include PATH for qt5 native applicationsTrevor Woerner2013-10-031-0/+2
| | | | | | | | | | | | | | | | | | If you perform a "bitbake -c devshell <some qt5 recipe>" and then try "which qmake" in the devshell, you'll find your host's qmake is found (which is most likely to be based on qt4) rather than the one that is built as part of meta-qt5. The reason for this is that the qt5 items are installed to ${STAGING_DIR_NATIVE}/usr/bin/qt5 and not ${STAGING_DIR_NATIVE}/usr/bin. The reason for the extra "qt5" directory at the end is so that qt4-based items that are built in OE can live side-by-side with things from meta-qt5 without interfering with each other. This patch prepends ${STAGING_DIR_NATIVE}/usr/bin/qt5 to the devshell's PATH so that the qt5-based native tools which are built as part of meta-qt5 will be found before the host's. Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtquickcontrols: Add module for 5.1.0 and git versionsTasslehoff Kjappfot2013-09-171-1/+7
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: add recipes for 5.1.0Martin Jansa2013-07-251-0/+1
| | | | | | | * only rebased patches and updated SRC_URI checksum, haven't even build tested it yet Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt: package examplesEric BENARD2013-05-281-1/+28
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5_base: Define OE_QMAKE_PATH_QT_* variablesMartin Jansa2013-05-091-9/+9
| | | | | | | | * and move it to separate .bbclass which is easier to replace in distro layer when you don't care about conflicts with qt4 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5: move default do_configure and do_install to qmake5.bbclassMartin Jansa2013-05-091-8/+0
| | | | * it's useful for many recipes outside qt5 and easy to overwrite when needed
* qtbase: drop setting arch and endianMartin Jansa2013-05-091-5/+0
| | | | | | | | | * endian option was removed from configure * arch/host-arch option is now deprecated and configure shows warning when it's used * both are now autodetected Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5: drop QT_DIR_NAME subdirectory from many OE_QMAKE_PATH_* variables ↵Martin Jansa2013-05-091-0/+11
| | | | | | | | | | | | | | | | | and add it back in qt5.inc * we're using QT_DIR_NAME subdirectory mostly to prevent conflicts with existing files from qt4 but setting it in all OE_QMAKE_PATH_* variables causes all apps which are just using qmake to build to install e.g. in /qt5 which for stuff like qterminal or something doesn't sound right (as long as there isn't qterminal4 and qterminal5 recipe) * some variables are kept with default QT_DIR_NAME, e.g. qml, imports, plugins we can assume that every application which installs some QML files will install them in location shared by all * add qt5-native.inc which also adds this QT_DIR_NAME and common inherits (later will be used also by qtwayland-native.inc) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5: Fix cleaning separate build directory and use it by defaultMartin Jansa2013-05-091-9/+0
| | | | | | | | | | | | * "${B}/*" in quotes doesn't match anything, better to remove whole directory (incluing .files) and recreate it * not sure why I've added quotes after testing first version, we don't expect B with spaces.. but I'm a bit scared with rm -rf ${SOME_VAR} after one glibc upgrade cleaned my whole disk and attached NFS array when OLD_LOCALE_PATH wasn't detected correctly... * qmake works well with separate B, use it by default Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: drop 'unset LD', qmake should now handle QMAKE_LINK correctlyMartin Jansa2013-05-091-3/+0
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: move variables used only in qtbase to qtbase.incMartin Jansa2013-05-071-46/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: drop EXTRA_ENVMartin Jansa2013-05-071-6/+0
| | | | | | | | | | | | | * all variables should be now correctly set by qmake * setting PARALLEL_MAKE in MAKEFLAGS can cause PARALLEL_MAKE * PARALLEL_MAKE processes, because first -j is applied on top level directory and then again in each subdir, but it's faster then make -j PARALLEL_MAKE only in top directory * setting QMAKE breaks build in src/tools/bootstrap, because it forces relative path bin/qmake which isn't correct Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: add PN-qmlplugins packages and remove them from modules, use ↵Martin Jansa2013-05-061-32/+61
| | | | | | | | | OE_QMAKE_PATH_* variables * qml and imports go to PN-qmlplugins * all other plugins go to just PN-plugins Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: Instead of fixing paths after installation, fix them in Makefile beforeMartin Jansa2013-05-051-14/+1
| | | | | | | | * thanks to Mikko Levonmaa * move it from qt5.inc to qmake5_base.bbclass, because it can be useful for other apps too Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5_base: add qmake5_base_do_configure which allows to declare ↵Martin Jansa2013-05-051-1/+3
| | | | | | | | | QMAKE_VARSUBST_* * don't export it, let recipe decide where to call it or even if it should be called (native recipes are not using it) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: move do_install modifications to shared qt5.inc and reuse do_configureMartin Jansa2013-04-281-0/+13
|
* qt5: allow to change -release/-debug for some modulesMartin Jansa2013-04-281-1/+2
|