Browse Source

opencv-4.5.4 enable_cvv fixes #3063

The cvv module is compiled conditionally on HAVE_QT5. But in opencv commit 87d4970e8b4b3251035fdf4a0101335ee5904a58 this variable was renamed to HAVE_QT, so the module is never compiled.

Also check if QT_VERSION_MAJOR >= 5
pull/3072/head
Sérgio M. Basto 4 years ago
parent
commit
2a4348e07c
  1. 2
      modules/cvv/CMakeLists.txt

2
modules/cvv/CMakeLists.txt

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
if(NOT HAVE_QT5 OR NOT HAVE_CXX11)
if(NOT HAVE_QT OR NOT HAVE_CXX11 OR QT_VERSION_MAJOR LESS 5)
ocv_module_disable(cvv)
return()
endif()

Loading…
Cancel
Save