-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathqt opencv linux installation notes.txt
More file actions
41 lines (28 loc) · 1.02 KB
/
qt opencv linux installation notes.txt
File metadata and controls
41 lines (28 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Install library / packages:
*Note most commands require sudo
Generic:
apt-get install build-essential cmake gcc-arm* git unzip pkg-config
Qt install:
apt-get install qtcreator
apt-get install qt5-default
apt-get install qt5-doc qtbase5-examples qtbase5-doc-html
Or for Ubuntu versions >= 22.04 that don't have qt5-default:
apt-get install qtbase5-dev qt5-qmake
qtchooser -l
qtchooser -print-env (make sure qt5 is selected)
Qt from online installer (installs Qt IDE - Qt Creator):
https://the-codeslinger.com/2020/12/20/manual-install-of-qt6-on-linux-mint/
https://www.qt.io/download-open-source
OpenCV install:
apt-get install libopencv-dev
Alternatively OpenCV build (e.g. on Raspbian):
https://qengineering.eu/install-opencv-4.2-on-raspberry-pi-4.html
Clone project using git
git clone git@github.com:folterj/BioImageOperation.git
Compile using Qt Creator, or CMake:
- cmake from within sub-folder 'build' inside BioImageOperation root folder
- when making changes ensure cleaning build folder
mkdir build
cd build
cmake ..
make