How to compile QT-GUI project with Yocto build OpenBMC firmware stack
-
Hi all ,
I am trying to add meta-qt5 layer to my Yocto OpenBMC firmware stack,
My layer configuration
BBFILE_COLLECTIONS += "custom-layer"
BBFILE_PATTERN_custom-layer := "^${LAYERDIR}/"
LAYERSERIES_COMPAT_custom-layer = "langdale mickledore"Adding QT5 trial and error build testing in local.conf
IMAGE_INSTALL:append = " qtbase qtbase-tools qtbase-plugins qtcanvas3d qtcharts qtconnectivity qtdatavis3d qtdeclarative qtenginio qtgraphicaleffects qtimageformats qtlocation qtmultimedia qtquick1 qtquickcontrols2 qtquickcontrols qtscript qtsensors qtserialport qtsvg qtsystems qttools qttranslations qtvirtualkeyboard qtwebchannel qtwebkit-examples qtwebkit qtwebsockets qtxmlpatterns openssh-sftp-server gdb gdbserver"
I added- /home/user/yocto/poky/meta-qt5 \ in my .bb file .
now if i tried to build- bitbake qtbase its showing error like -
/qtbase/5.15.9+gitAUTOINC+42e4ae042a-r0/build/src/widgets'
| make[1]: Leaving directory '/home/shambhu/Accelsius_RCU_OpenBMC/accelsius-openbmc/build/rcu/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/qtbase/5.15.9+gitAUTOINC+42e4ae042a-r0/build/src'
| make: *** [Makefile:51: sub-src-make_first] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/shambhu/Accelsius_RCU_OpenBMC/accelsius-openbmc/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1802 tasks of which 1800 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/home/user/OpenBMC/openbmc/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_compile
Summary: There were 4 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.My tarhrt hardware is SOC Aspeed AST2600 A3 version. I don't know whether the steps am following is correct are not...
i want to add this meta-qt5 layer... please help me regarding this am new to this..