meta-toolchain-qt5 compile error imx6sl

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

meta-toolchain-qt5 compile error imx6sl

2,094 Views
analogicstechin
Contributor III

#bitbake meta-toolchain-qt5 i am facing below error, can any one help me solve the issue.

| Project ERROR: Unknown module(s) in QT: quick
| make[2]: *** [sub-qml-deviceinfo-make_first] Error 3
| make[2]: *** Waiting for unfinished jobs....
| Project ERROR: Unknown module(s) in QT: quick
| make[2]: *** [sub-qml-inputinfo-make_first] Error 3
| Project ERROR: Unknown module(s) in QT: quick
| make[2]: *** [sub-qml-battery-make_first] Error 3
| make[3]: Entering directory `/media/ashok/NXPIMX6/fsl-community-bsp/imx6slevk-wayland/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtsystems/5.6.1+gitAUTOINC+66e45676f5-r0/build/examples/systeminfo/inputinfo'
| compiling /media/ashok/NXPIMX6/fsl-community-bsp/imx6slevk-wayland/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtsystems/5.6.1+gitAUTOINC+66e45676f5-r0/git/examples/systeminfo/inputinfo/main.cpp
| compiling /media/ashok/NXPIMX6/fsl-community-bsp/imx6slevk-wayland/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtsystems/5.6.1+gitAUTOINC+66e45676f5-r0/git/examples/systeminfo/inputinfo/inputtest.cpp
| moc /media/ashok/NXPIMX6/fsl-community-bsp/imx6slevk-wayland/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtsystems/5.6.1+gitAUTOINC+66e45676f5-r0/git/examples/systeminfo/inputinfo/inputtest.h
| compiling .moc/moc_inputtest.cpp
| linking inputinfo
| make[3]: Leaving directory `/media/ashok/NXPIMX6/fsl-community-bsp/imx6slevk-wayland/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtsystems/5.6.1+gitAUTOINC+66e45676f5-r0/build/examples/systeminfo/inputinfo'
| make[2]: Leaving directory `/media/ashok/NXPIMX6/fsl-community-bsp/imx6slevk-wayland/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtsystems/5.6.1+gitAUTOINC+66e45676f5-r0/build/examples/systeminfo'
| make[1]: *** [sub-systeminfo-make_first] Error 2
| make[1]: Leaving directory `/media/ashok/NXPIMX6/fsl-community-bsp/imx6slevk-wayland/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtsystems/5.6.1+gitAUTOINC+66e45676f5-r0/build/examples'
| make: *** [sub-examples-make_first-ordered] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /media/ashok/NXPIMX6/fsl-community-bsp/imx6slevk-wayland/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtsystems/5.6.1+gitAUTOINC+66e45676f5-r0/temp/log.do_compile.9062)
ERROR: Task 812 (/media/ashok/NXPIMX6/fsl-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtsystems_git.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3491 tasks of which 3489 didn't need to be rerun and 1 failed.
No currently running tasks (3491 of 3503)

0 Kudos
Reply
4 Replies

1,752 Views
Yuri
NXP Employee
NXP Employee

Hello,

  use section 8.4 (Qt 5) of "i.MX_Linux_User's_Guide.pdf" in Linux L4.2.88

documentation package how to build and run Qt5.

 "i.MX_Yocto_Project_User's_Guide.pdf" provides instructions how to setup host PC.

https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS&Parent_nodeId=13376994810717061... 

Regards,

Yuri.

1,752 Views
analogicstechin
Contributor III

thanks for your support ,

Now i done meta-toolchain-qt5 compilation without error,but some of the packages are missing in toolchain (example i required curl  headers " curl.h " but it's not present in toolchain) ,please check my local.conf file give me qt toolchain with curl

------------------------------------------------------------------------------------------------------------------------------

cat conf/local.conf
MACHINE ??= 'imx6ull14x14evk'
DISTRO ?= 'fsl-imx-x11'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CORE_IMAGE_EXTRA_INSTALL += "wvdial"
CORE_IMAGE_EXTRA_INSTALL += "curl"
CORE_IMAGE_EXTRA_INSTALL += "sqlite3"
CORE_IMAGE_EXTRA_INSTALL += "libxml2"
CORE_IMAGE_EXTRA_INSTALL += "python"
CORE_IMAGE_EXTRA_INSTALL += "freetype"
CORE_IMAGE_EXTRA_INSTALL += "netkit-ftp"
CORE_IMAGE_EXTRA_INSTALL += "ncftp"
CORE_IMAGE_EXTRA_INSTALL += "libavc1394"
CORE_IMAGE_EXTRA_INSTALL += "bluez5"
CORE_IMAGE_EXTRA_INSTALL += "cups"
CORE_IMAGE_EXTRA_INSTALL += "hplip"
CORE_IMAGE_EXTRA_INSTALL += "samba"
CONF_VERSION = "1"
LICENSE_FLAGS_WHITELIST="commercial"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

0 Kudos
Reply

1,752 Views
analogicstechin
Contributor III

can any one help me on this, How to add the Curl in Toolchain recipe meta-toolchain-qt5

0 Kudos
Reply

1,752 Views
Yuri
NXP Employee
NXP Employee

Hello,

  What BSP is used in the case? 

Regards,

Yuri.

0 Kudos
Reply