[Buildroot] [PATCH v2 02/24] opencv: fix qt selection when highgui is enable
Samuel Martin
s.martin49 at gmail.com
Tue Apr 22 23:15:34 UTC 2014
The OpenCV highgui module links against QtGui and QtTest.
The latter is built by default but was never installed.
Thanks to the previous patch on Qt, this can be rectified.
So, update the OpenCV Config.in with the missing Qt module selection.
Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
---
changes v1 -> v2:
- rebase
---
package/opencv/Config.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/opencv/Config.in b/package/opencv/Config.in
index b40e141..49ada5d 100644
--- a/package/opencv/Config.in
+++ b/package/opencv/Config.in
@@ -173,9 +173,11 @@ config BR2_PACKAGE_OPENCV_WITH_QT
depends on BR2_USE_MMU # qt
select BR2_PACKAGE_QT
select BR2_PACKAGE_QT_STL
+ select BR2_PACKAGE_QT_GUI_MODULE if BR2_PACKAGE_OPENCV_LIB_HIGHGUI
+ select BR2_PACKAGE_QT_TEST if BR2_PACKAGE_OPENCV_LIB_HIGHGUI
default y
help
- Use Qt with STL support
+ Use Qt with QtTest module and STL support
config BR2_PACKAGE_OPENCV_WITH_TIFF
bool "tiff support"
--
1.9.2
More information about the buildroot
mailing list