更改qt.cpp文件后如何编译yocto rootfs?

时间:2019-08-26 12:39:05

标签: qt5 yocto screen-rotation rootfs

我想编译一个qt5应用程序,该应用程序替换了先前的应用程序(.cpp.h文件都已修改为包含屏幕旋转功能)。

但是,构建rootfs似乎没有更新,我应该修改.bb文件吗?

我只需运行build命令即可在yocto中编译rootfs

bitbake fsl-image-qt5-validation-imx

但我得到的结果是

"NOTE: Tasks Summary: Attempted 5751 tasks of which 5751 didn't need to be rerun and all succeeded."

这是我的.bb文件:

DESCRIPTION = "Freescale Image - Adds Qt5"
LICENSE = "MIT"

require recipes-fsl/images/fsl-image-validation-imx.bb

inherit distro_features_check


CONFLICT_DISTRO_FEATURES = "directfb"

# Install Freescale QT demo applications
QT5_IMAGE_INSTALL_APPS = ""
QT5_IMAGE_INSTALL_APPS_imxgpu3d = "${@bb.utils.contains("MACHINE_GSTREAMER_1_0_PLUGIN", "imx-gst1.0-plugin", "imx-qtapplications", "", d)}"

# Install fonts
QT5_FONTS = "ttf-dejavu-common ttf-dejavu-sans ttf-dejavu-sans-mono ttf-dejavu-serif "

# Install Freescale QT demo applications for X11 backend only
MACHINE_QT5_MULTIMEDIA_APPS = ""
QT5_IMAGE_INSTALL = ""
QT5_IMAGE_INSTALL_common = " \
    packagegroup-qt5-demos \
    ${QT5_FONTS} \
    ${QT5_IMAGE_INSTALL_APPS} \
    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxkbcommon', '', d)} \
    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland qtwayland-plugins', '', d)}\
    "
#bb file  
QT5_IMAGE_INSTALL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11','${QT5_IMAGE_INSTALL_common}', \
    'qtbase qtbase-plugins', d)}"
#bb file 
QT5_IMAGE_INSTALL_imxpxp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11','${QT5_IMAGE_INSTALL_common}', \
    'qtbase qtbase-examples qtbase-plugins', d)}"
#bb file 
QT5_IMAGE_INSTALL_imxgpu3d = " \
    ${QT5_IMAGE_INSTALL_common} \
    gstreamer1.0-plugins-bad-qt"

# Add packagegroup-qt5-webengine to QT5_IMAGE_INSTALL_mx6 and comment out the line below to install qtwebengine to the rootfs.
QT5_IMAGE_INSTALL_remove = " packagegroup-qt5-webengine"
#bb file 
IMAGE_INSTALL += " \
${QT5_IMAGE_INSTALL} \
    packagegroup-qt5-demos \
    wifi-bt-fw \
    ${QT5_FONTS} \

我希望将qt5应用程序更新到rootfs中,但不知道在.bb文件中的修改位置。

0 个答案:

没有答案