summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
Commit message (Collapse)AuthorAgeFilesLines
* qtbase: Fix build with gcc9Khem Raj2018-12-204-0/+37
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Consider clang when computing QMAKE_CXX.COMPILER_MACROSKhem Raj2018-12-204-0/+44
| | | | | | | Helps in compiling qtapps with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: Enable clang plugin support when clang is used as toolchainKhem Raj2018-12-201-1/+9
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: Fix build with clangKhem Raj2018-12-201-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Drop QMAKE_WAYLAND_SCANNER from clang mkspecs fileKhem Raj2018-12-201-10/+7
| | | | | | | | | This is to complete the fix that was sent last year to remove QMAKE_WAYLAND_SCANNER https://patchwork.openembedded.org/patch/145672/ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtconnectivity: Ignore -Waddress-of-temporary when using clangKhem Raj2018-12-202-0/+42
| | | | | | Helps in making bluez detection succeed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Fix build with clang/muslKhem Raj2018-12-204-0/+33
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5: upgrade to 5.11.3Mikko Gronoff2018-12-2044-98/+83
| | | | Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qtwebengine: Configure Ninja to honor PARALLEL_MAKEKai Ruhnau2018-12-111-0/+1
| | | | | | Fixes #137 Signed-off-by: Kai Ruhnau <kai.ruhnau@target-sg.com>
* qtbase-native: disable postgresql supportChristian Haettich2018-11-131-0/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: refresh patches and update tags on meta-qt5Martin Jansa2018-11-137-15/+12
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: don't leak absolut path to recipe specific sysrootMax Krummenacher2018-11-134-0/+72
| | | | | | | | | | | | | | If the qtbase recipe-sysroot no longer exists (e.g. because of rm_work) a user of Qt5GuiConfigExtras.cmake will experience the following error: | ERROR: Task (.../meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_configure) failed with exit code '1' | CMake Error in Source/WebCore/CMakeLists.txt: | Imported target "Qt5::Gui_EGL" includes non-existent path | | ".../build/tmp-glibc/work/armv7at2hf-neon-imx-angstrom-linux-gnueabi/qtbase/5.11.2+gitAUTOINC+49efea26a5-r0/recipe-sysroot/usr/include/libdrm" Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* qt5: Disable ltcg for host_buildSamuli Piippo2018-11-134-0/+29
| | | | | | | | | debug-prefix-map does not work correctly for static libraries when using ltcg, and since host_build compilations link agaist the libQt5Bootstrap.a library, it breaks source file packaging into debug packages. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: don't use thumb for armv[45]Martin Jansa2018-10-151-0/+5
| | | | | | * it fails when building with gcc8 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: Check before editing translation MakefileKhem Raj2018-09-301-5/+6
| | | | | | | On some arches translations may not be enabled so we can not assume that this makefile will always exist Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Pick native tools from native sysroot e.g. lrelease etc.Khem Raj2018-09-303-42/+33
| | | | | | | | | | | | | | qtcreator's build system is not as creative when it comes to cross building, it assumes to find some of tools used during translations to be installed in bindir where its building on. In other words native build is assumed. This patch helps the build system to locate the right binaries during cross compilation Fix install as we do not need chrpath'ing anymore Fix cross-builds for non x86 systems Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: fix build with QMAKE_ARupstream/jansa/qt5-creatorjansa/qt5-creatorMartin Jansa2018-09-273-1/+82
| | | | | | | | | | | | * now it builds OK at least for qemux86-64, but then do_install fails: | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/recipe-sysroot-native/usr/bin/qmake -install qinstall /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/build/share/doc/qtcreator/qtcreator.qch /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/image/usr/share/doc/qtcreator/qtcreator.qch | Error copying /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/build/share/doc/qtcreator/qtcreator.qch to /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/image/usr/share/doc/qtcreator/qtcreator.qch: Cannot open /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/build/share/doc/qtcreator/qtcreator.qch for input | Makefile:492: recipe for target 'install_inst_qch_docs' failed http://errors.yoctoproject.org/Errors/Build/68948/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: upgrade to 4.7.1+Martin Jansa2018-09-265-133/+12
| | | | | | | | botan was replaced with botan2 in: http://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?h=4.7&id=a44fe2e4f03fc18ce9c3d050f71fe369916259b8 lets see if we still need those fixes for botan Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* 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-262-18/+13
| | | | | | * don't create separate examples-dev and examples-staticdev for all modules Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: refresh .patch files and push them to meta-qt5 forkMartin Jansa2018-09-256-33/+51
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: Fix build due to missing lreleaseKhem Raj2018-09-252-2/+26
| | | | | | | | | | | Fixes make[2]: /mnt/a/yoe/build/tmp/work/i586-yoe-linux-musl/qt5-creator/4.5.1-r0/recipe-sysroot/usr/bin/lrelease: Command not found make[2]: *** [Makefile:420: qtcreator_cs.qm] Error 127 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: Add patches to fix breakpad in new webengine release on muslKhem Raj2018-09-253-0/+121
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Do not use cross_compile checkKhem Raj2018-09-259-31/+17
| | | | | | | | This check is not accepted by qmake resulting in subsequent failures in qtwebengine Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix errors due to -isystemKhem Raj2018-09-2520-30/+60
| | | | | | | | | | empty out QMAKE_CFLAGS_ISYSTEM this will ensure that -isystem is not used instead it will use -I to include internal QT headers Dont hardcode QMAKE_DEFAULT_INCDIRS when cross compile Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix build error for armv8BE multilib.Lei Maohui2018-09-256-10/+53
| | | | | | | | * MJ: modified to apply correctly and to be included in native and nativesdk builds as the comment above SRC_URI says. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: update to latest revision in 5.11 branchMartin Jansa2018-09-2584-130/+121
| | | | | | | | | | * drop nobranch=1 again * update the branches and tags on meta-qt5/qt* forks and the tag name in recipes * use latest revision in 5.11 branch instead of 5.11.2 which might be removed again Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: update to Qt 5.11.2Samuli Piippo2018-09-2542-142/+66
| | | | | | | | Update The-Qt-Company-Commercial license to the actual commercial license which also replaces preview license in qtbase. Remove old licenses that are no longer used in any module. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtwebkit-examples: Fix build with QT 5.11Khem Raj2018-09-252-0/+50
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: Use relative paths for pri files when cross compileKhem Raj2018-09-253-206/+43
| | | | | | This helps in compiling examples etc. without hardcoded headers Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nativesdk-qtbase: use default PACKAGESMartin Jansa2018-09-201-15/+3
| | | | | | | * don't append -tools to all packages * fixes automatic packaging of .debug files in ${PN}-dbg Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: strip few more useless rpathsMartin Jansa2018-09-191-1/+3
| | | | | | | | | | * fixes: ERROR: qt5-creator-4.5.1-r0 do_package_qa: QA Issue: qt5-creator: /work/core2-64-oe-linux/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/plugins/qmldesigner/libcomponentsplugin.so contains probably-redundant RPATH /usr/lib qt5-creator: /work/core2-64-oe-linux/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/plugins/qmldesigner/libqtquickplugin.so contains probably-redundant RPATH /usr/lib [useless-rpaths] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt: remove unnecessary FILES.*-dbg variables for packaging .debug filesMartin Jansa2018-09-194-51/+2
| | | | | | | | | | | | | | | | | | | | * 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>
* qt3d-runtime: Fix compile errors as seen with mips/muslKhem Raj2018-09-192-0/+31
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt3d-runtime: upgrade to latest revision in 2.0 branchMartin Jansa2018-09-191-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Make qtwebkit support arm32 BE.Lei Maohui2018-09-192-1/+27
| | | | | | | | * It can work on arm32 BE. * MJ: modified to apply correctly Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtscript: add patches to meta-qt5 forkMartin Jansa2018-09-192-5/+8
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtscript: Fix build on muslKhem Raj2018-09-192-1/+39
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: add patches to meta-qt5 forkMartin Jansa2018-09-193-28/+27
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Fix conflicts with -I and -isystemKhem Raj2018-09-192-0/+208
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: Fix build with muslKhem Raj2018-09-192-1/+73
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Strip out redundant RPATHKhem Raj2018-09-191-1/+6
| | | | | | | | | | Fixes ERROR: QA Issue: qt5-creator: /work/mips32r2-bec-linux-musl/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/libexec/qtcreator/qbs_processlauncher contains probably-redundant RPATH /usr/lib qt5-creator: /work/mips32r2-bec-linux-musl/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/libexec/qtcreator/qtcreator_process_stub contains probably-redundant RPATH /usr/lib qt5-creator: /work/mips32r2-bec-linux-musl/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/libqbscore.so.1.10.1 contains probably-redundant RPATH /usr/lib [useless-rpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Fix building botan for all non-x86 archesKhem Raj2018-09-192-0/+20
| | | | | | The original fix was just for x86/x86_64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: use nasm-native instead of yasm-nativeMartin Jansa2018-09-191-1/+1
| | | | | | | * yasm-native was removed in: http://git.openembedded.org/openembedded-core/commit/?id=b7f3f7ecfdf26129c5df2d3ee14e73c4633ea5a3 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: fix install locations used in static buildsSamuli Piippo2018-09-141-2/+27
| | | | | | | | | | Both qml and plugin paths need to be adjusted for static builds, so that they point to the recipe-sysroot instead of the native one. Similar change is already applied to host bins. These changes do not affect regular dynamic builds, as the sections are only used in static builds. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtwebengine: enable debug info for webengineSamuli Piippo2018-09-142-11/+10
| | | | | | | Enable debug info for webengine builds. The mkspec needed fixing, otherwise CFLAGS were fed incorrectly to Ninja. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtscript: Update the custom patch from mainlineAlistair Francis2018-08-313-59/+51
| | | | | | Update the custom qtscript patch to use a backported patch instead. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
* qtbase: remove renameat2 PACKAGECONFIGAndreas Müller2018-08-221-2/+0
| | | | | | | * since glibc 2.28 it is not necessary that Qt implements it * reduce PACKAGECONFIG mania a bit Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtbase: fix build with glibc-2.28 - for non-readers like meAndreas Müller2018-08-226-3/+48
| | | | | | | | | | | | 539e4f09f749f024d6e157a49559e5ad7f51470a fixed bootstrapped build. At least cross builds are not done bootstrapped. Fix them too by copying statx/renameat2 macros - non-bootsrapped conditional - to qfilesystemengine_unix.cpp - it is fortunately the only source using QT_FEATURE_renameat2 / QT_FEATURE_statx (or QT_CONFIG(renameat2) / QT_CONFIG(statx)). Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwebengine: Fix optonal glib-2.0 dependencyJens Rehsack2018-08-221-1/+1
| | | | | | | | The corresponding recipe in poky is named "glib-2.0_XXX.bb", not "glib_XXX.bb" which causes parser errors when enabling 'glib' in PACKAGECONFIG. Signed-off-by: Jens Rehsack <sno@netbsd.org>