my work demo is running in qt5.12 and opencv4.5.5,when i put the demo to the W3,it can not work normal。
- Install QT
- Install Cross Compilation
sudo su
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
Use the following steps to install Qt
sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
sudo apt-get install qtcreator
sudo apt-get install qt5*
Execute the command to view the QT version installed by armsom-W3
qmake -query
- Install Opencv
- Install Dependency Package
$sudo apt-get install cmake
$sudo apt-get install gcc g++
$sudo apt-get install python3-dev python3-numpy
$sudo apt-get install build-essential
$sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libv4l-dev libxvidcore-dev libx264-dev libatlas-base-dev gfortran libgtk2.0-dev libjpeg-dev libpng-dev
Go to the opencv official website to download the source code
cd opencv-3.4.14
mkdir build
cd build
cmake ../
make
sudo make install
Edit /etc/ld.so.conf, add “/usr/local/lib” at the end of the text, execute sudo /sbin/ldconfig - v to take effect
vi /etc/ld.so.conf
+ /usr/local/lib
sudo /sbin/ldconfig - v
您好!谢谢!
我一开始也是按照这个方法去安装,apt-get安装到的版本是5.15.2,不是5.12,
Do you have strict requirements for the QT version in your application? Then download the corresponding version package from this link qt_5.12