Hi,
I’m trying to compile opencv from source and include Qt and OpenGL support. but my configuration results keep saying they’re not included.
This is the cmake command that I’m using:
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/path/to/opencv-4.5.5/build \
-D WITH_QT=ON \
-D WITH_OPENGL=ON \
../
And this is part of the configuration result:
-- GUI: COCOA
-- QT: NO
-- Cocoa: YES
-- OpenGL support: NO
-- VTK support: NO
Am I supposed to preinstall Qt and OpenGL prior to using cmake? any ideas how to further debug this? thanks in advance for your help.