Native build of Qt5 creator on Raspberry Pi 4 with OpenCV support
Native build of Qt5 creator on Raspberry Pi 4 or Jetson Nano with OpenCV support
see Qt5 where this example is explored.
To run the application, you have to:
To run the application load the project file Viewer.pro in the Qt5 Creators.
Select the OS you are using in myvideocapture.cpp at line 30.
Bullseye
// Raspberry Pi Bullseye
mVideoCap.open(pipeline, cv::CAP_GSTREAMER);
Buster
// Raspberry Pi Buster or Jetson Nano
mVideoCap.open( ID_CAMERA );