当我编译qupzilla 2.0支持qt5.6 base时,它给出了以下错误。
项目消息:使用以下定义:|项目信息: QUPZILLA_SHAREDLIBRARY QUPZILLA_VERSION = \" 2.0.2 \" QT_NO_URL_CAST_FROM_STRING QT_USE_QSTRINGBUILDER USE_LIBPATH = \" / usr / lib中\" USE_DATADIR = \"在/ usr /共享/ qupzilla \" GIT_REVISION = \" 635d392e66 \" QZ_WS_X11 |
项目错误:未知 QT中的模块:x11extras |错误:调用/ home // build / tmp / sysroots / x86_64-linux / usr / bin / qt5 / qmake时出错 -makefile -o Makefile -r /home/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/qupzilla/5.6.3+gitAUTOINC+6e445dcc05-r0/git/QupZilla.pro
下面是我的食谱
DESCRIPTION = "falkon browser https://github.com/Cockatrice/Cockatrice/issues/205"
LICENSE = "GPL-3.0"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=1d4ea452ed7ae778545f2dda5963c9fd"
require recipes-qt/qt5/qt5-git.inc
SRC_URI = "git://github.com/QupZilla/qupzilla.git;branch=v2.0"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
DEPENDS = " qtbase qtwebengine qtx11extras qtdeclarative"
inherit qmake5
INSANE_SKIP_${PN} += "installed-vs-shipped"
有什么遗失吗?
答案 0 :(得分:0)
请确保您在DISTRO_FEATURES中使用x11,并且您可能还想添加
require recipes-qt/qt5/qt5.inc