![qt 5.5 opengl 4.4 qt 5.5 opengl 4.4](https://user-images.githubusercontent.com/4809739/33766563-5c9f200a-dc1e-11e7-875c-f832cc978bd3.png)
#Qt 5.5 opengl 4.4 install
$ sudo apt-get install libjpeg8-dev libjpeg-turbo8-dev libtiff5-dev \ # Install additional dependencies according to the pyimageresearch $ sudo apt-get install libdc1394-22-dev libxine2-dev \ # Install dependencies for gstreamer stuffs Libswscale-dev libv4l-dev libeigen3-dev \ $ sudo apt-get install build-essential make cmake cmake-curses-gui \ # Install dependencies based on the Jetson Installing OpenCV Guide $ sudo apt-get install -only-upgrade g++-5 cpp-5 gcc-5
#Qt 5.5 opengl 4.4 update
# Update gcc apt package to the latest version (highly recommended) # Upgrade all installed apt packages to the latest versions (optional) # I'd remove this python-numpy apt package as well # I prefer using newer version of numpy (installed with pip), so # Remove all old opencv stuffs installed by JetPack (or OpenCV4Tegra) Regarding the python matplotlibrc modifications below, refer to this StackOverflow thread for more details. I’d start by cleaning up older opencv packages and installing necessary dependencies for building opencv.
![qt 5.5 opengl 4.4 qt 5.5 opengl 4.4](https://visualgdb.com/w/wp-content/uploads/2015/09/qt640.png)
Install python3/python2 ‘matplotlib’ before building opencv (this is recommended by opencv’s official documentation). Using Qt/OpenGL backend instead of GTK+ (this resolves the ‘protobuf double free’ issue for caffe: reference) 4. Added more apt package clean-up steps at the beginning 3. update: Verified opencv-3.4.2 built and run OK under JetPack-3.3. If you are installing OpenCV on a Jetson Nano, or on a Jetson TX2 / AGX Xavier with JetPack-4.2, do check out the new post. Update: Added the Installing OpenCV 3.4.6 on Jetson Nano post.