* Newer oe-core doesn't pull many default dependencies anymore: https://lists.openembedded.org/g/openembedded-core/message/156185 add explicit dependency on pkgconfig through pkgconfig.bbclass as we're using it here. * pkgconfig seems to be needed only when hunspell is enabled, e.g. with LuneOS we have following bbappend: # Enable support for predictive text and word correction EXTRA_QMAKEVARS_PRE += "CONFIG+=enable-pressage CONFIG+=enable-hunspell" DEPENDS += "hunspell presage" but add it here in case someone else will use similar extra flags * fixes: | NOTE: Direct dependencies are ['/OE/build/luneos-kirkstone/webos-ports/meta-qt5/recipes-qt/maliit/maliit-framework-qt5_git.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_11.2.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/meta-openembedded/meta-oe/recipes-support/hunspell/hunspell_1.7.0.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/meta-webos-ports/meta-luneos/recipes-upstreamable/presage/presage_0.9.1.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.2.bb:do_populate_sysroot', 'virtual:native:/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-core/glibc/glibc_2.34.bb:do_populate_sysroot', 'virtual:native:/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['maliit-framework-qt5', 'gcc-cross-x86_64', 'hunspell', 'presage', 'gcc-runtime', 'patch-native', 'qtbase-native', 'glibc', 'pseudo-native', 'quilt-native', 'qtdeclarative', 'binutils-cross-x86_64', 'linux-libc-headers', 'gnu-config-native', 'mpfr-native', 'zlib-native', 'libmpc-native', 'flex-native', 'xz-native', 'texinfo-dummy-native', 'gmp-native', 'libtool-native', 'sqlite3', 'libtinyxml', 'ncurses', 'libgcc', 'attr-native', 'dbus-native', 'qtbase', 'm4-native', 'gettext-minimal-native', 'opkg-utils', 'expat-native', 'openssl', 'mtdev', 'glib-2.0', 'fontconfig', 'libxkbcommon', 'freetype', 'zlib', 'icu', 'libpng', 'libjpeg-turbo', 'libdrm', 'systemd', 'mesa', 'dbus', 'libpcre2', 'cmake-native', 'bash-completion', 'libpcre', 'util-linux', 'libffi', 'expat', 'wayland-protocols', 'util-macros', 'wayland', 'autoconf-archive', 'libpthread-stubs', 'libpciaccess', 'zstd', 'shadow-sysroot', 'base-files', 'shadow', 'kmod', 'libcap', 'base-passwd', 'shadow-native', 'elfutils', 'xorgproto', 'llvm', 'bzip2', 'bzip2-native', 'curl-native', 'zstd-native', 'ncurses-native', 'util-linux-libuuid', 'libxcrypt', 'libcap-ng', 'libxml2', 'attr', 'xz', 'libedit', 'openssl-native', 'python3', 'perl-native', 'libnsl2', 'libtirpc', 'gdbm', 'readline', 'perlcross-native', 'gdbm-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function qmake5_base_preconfigure | DEBUG: Shell function qmake5_base_preconfigure finished | DEBUG: Executing shell function do_configure | NOTE: qmake prevar substitution: ' PREFIX=/usr MALIIT_INSTALL_PRF=/OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/recipe-sysroot/usr/lib/mkspecs/features MALIIT_PLUGINS_DATA_DIR=/usr/share LIBDIR=/usr/lib CONFIG+=nodoc CONFIG+=disable-nemo-keyboard CONFIG+=enable-pressage CONFIG+=enable-hunspell' | Info: creating stash file /OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/build/.qmake.stash | -e Tip: Run qmake HELP=1 for a list of all supported build options | Reading /OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/git/maliit-keyboard/maliit-keyboard.pro [/OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/build/maliit-keyboard] | Reading /OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/git/maliit-keyboard/lib/lib.pro [/OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/build/maliit-keyboard/lib] | Project ERROR: hunspell development package not found Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Qt5 OpenEmbedded/Yocto Project layer
This layer depends on:
URI: https://github.com/openembedded/openembedded-core (branch: master)
When building stuff like qtdeclarative, qtquick, qtwebkit, make
sure that you have required PACKAGECONFIG options enabled in qtbase
build, see qtbase recipe for detail.
Some recipes like qtwebengine would need 32bit multilib compiler on build
host, especially when target to be built is 32bit, e.g. arm since it builds
v8 engine which requires $CC -m32 to work, so ensure that host compiler
can generate 32bit code, on archlinux distributions this would be
pacman -S lib32-gcc-libs lib32-glibc
Contributing
Please submit any patches against the meta-qt5 layer by using the
GitHub pull-request feature. Fork the repo, make a branch, do the
work, rebase from upstream, create the pull request, yada-yada.
Maintainers
- Martin 'JaMa' Jansa martin.jansa@gmail.com
- Otavio Salvador otavio@ossystems.com.br
Yocto Project Compatible
meta-qt5 has Yocto Project Compatible status since 2013. Check it at: https://www.yoctoproject.org/product/meta-qt5
