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:
- Qt5 installed Install Qt5
- OpenCV installed Install OpenCV 32-bit OS , Install OpenCV 64-bit OS or Install OpenCV on Jetson Nano
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 );