Skip to content

Commit cfd8777

Browse files
committed
opencv: Disable cvv module in opencv_contrib as it is not yet suppported for Qt6 [YOCIMX-6355]
This is a workaround to get pass the following build error: /home/bamboo/build/5.15-kirkstone-regression/fsl-imx-internal-xwayland/mx8/yocto/build/tmp/work/armv8a-mx8-poky-linux/opencv/4.6.0.imx-r0/build/ modules/cvv/opencv_cvv_autogen/MXUWEOXILK/../../../../../contrib/modules/cvv/src/gui/call_tab.hpp:4:10: fatal error: QString: No such file or directory There is a pull request to add Qt6 support in opencv_contrib repo but it is not merged yet. opencv/opencv_contrib#3285 Signed-off-by: Neena Busireddy <[email protected]>
1 parent 8e64fe2 commit cfd8777

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

meta-bsp/recipes-support/opencv/opencv_4.6.0.imx.bb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ SRCREV_extra = "936854e2b666853d6d0732a8eabc2d699f4fa3d8"
77
SRC_URI:remove = " \
88
file://0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch \
99
"
10+
# Disable cvv module in opencv_contrib as it is not yet suppported for Qt6
11+
EXTRA_OECMAKE:append = " -DBUILD_opencv_cvv=OFF"
1012

1113
PACKAGECONFIG[qt6] = "-DWITH_QT=ON -DQT_HOST_PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native},-DWITH_QT=OFF,qtbase qtbase-native,"
1214
PACKAGECONFIG[tim-vx] = "-DWITH_TIMVX=ON -DTIMVX_INSTALL_DIR=${STAGING_DIR_HOST}${libdir},-DWITH_TIMVX=OFF,tim-vx"

0 commit comments

Comments
 (0)