[06/10] opencv: fix qt selection when highgui is enable

Submitted by Samuel Martin on Jan. 18, 2014, 7:23 p.m.

Details

Message ID 1390073027-14239-7-git-send-email-s.martin49@gmail.com
State Superseded
Headers show

Commit Message

Samuel Martin Jan. 18, 2014, 7:23 p.m.
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@gmail.com>
---
 package/opencv/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Samuel Martin Feb. 11, 2014, 8:07 p.m.
ping (for next)?

Patch hide | download patch | download mbox

diff --git a/package/opencv/Config.in b/package/opencv/Config.in
index 146011a..79c7b0b 100644
--- a/package/opencv/Config.in
+++ b/package/opencv/Config.in
@@ -174,9 +174,11 @@  config BR2_PACKAGE_OPENCV_WITH_QT
 	depends on !BR2_avr32 # 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"