|
@@ -52,9 +52,10 @@ config BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
|
|
Include opencv_highgui (high-level gui and media i/o) module into the
|
|
|
OpenCV build.
|
|
|
|
|
|
+if BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
|
|
+
|
|
|
choice
|
|
|
prompt "gui toolkit"
|
|
|
- depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
|
|
help
|
|
|
GUI toolkit to be used by the opencv_highgui module.
|
|
|
|
|
@@ -108,6 +109,25 @@ comment "qt5 support needs qt5"
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
+config BR2_PACKAGE_OPENCV_WITH_OPENGL
|
|
|
+ bool "opengl support"
|
|
|
+ # OpenGL support done using Qt5OpenGL, so depends on WITH_QT5
|
|
|
+ depends on BR2_PACKAGE_OPENCV_WITH_QT5
|
|
|
+ # OpenGL support requires Qt5OpenGL with GL support, not GLES
|
|
|
+ depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
|
|
+ depends on BR2_PACKAGE_HAS_LIBGL
|
|
|
+ select BR2_PACKAGE_QT5BASE_OPENGL
|
|
|
+ help
|
|
|
+ Enable OpenGL for UI.
|
|
|
+
|
|
|
+comment "opengl support needs an OpenGL provider"
|
|
|
+ depends on BR2_PACKAGE_OPENCV_WITH_QT5
|
|
|
+ depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || \
|
|
|
+ !BR2_PACKAGE_HAS_LIBGL
|
|
|
+
|
|
|
+endif # BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
|
|
+
|
|
|
+
|
|
|
config BR2_PACKAGE_OPENCV_LIB_IMGCODECS
|
|
|
bool "imgcodecs"
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|