opencv: fix qt selection when highgui is enable
authorSamuel Martin <s.martin49@gmail.com>
Tue, 22 Apr 2014 23:15:34 +0000 (01:15 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 3 May 2014 21:06:42 +0000 (23:06 +0200)
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>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/opencv/Config.in

index b40e1412cf1b959720bd53f1b42edbe876dc4a98..49ada5d16383122424dcd17a2aac06b6775d9659 100644 (file)
@@ -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"