라즈베리파이-QT5 설치

Qt5 설치
X
user@localhost:~
[user@localhost]$ sudo apt-get update
[user@localhost]$ sudo apt-get install qt5-default qtbase5-dev qtdeclarative5-dev qt5-qmake qtcreator libqt5gui5 qtscript5-dev qtmultimedia5-dev libqt5multimedia5-plugins qtquickcontrols2-5-dev libqt5network5 cmake build-essential
[user@localhost]$ sudo apt-get install libqt5svg5-dev
oscpack 라이브러리
oscpack 라이브러리 다운로드
X
user@localhost:~
[user@localhost]$ git clone https://github.com/dimitry-ishenko-casparcg/oscpack.git
Cloning into 'oscpack'...
remote: Counting objects: 511, done.
remote: Total 511 (delta 0), reused 0 (delta 0), pack-reused 511
Receiving objects: 100% (511/511), 110.97 KiB | 0 bytes/s, done.
Resolving deltas: 100% (377/377), done.
oscpack 라이브러리 설치
X
user@localhost:~
[user@localhost]$ cd oscpack
[user@localhost]$ make
[user@localhost]$ sudo make install
install -c -D -m 755 liboscpack.so.1.1.0 //usr/local/lib/liboscpack.so.1.1.0
ln -s -f liboscpack.so.1.1.0 //usr/local/lib/liboscpack.so
mkdir -p //usr/local/include/ip //usr/local/include/osc
install -c -D -m 644 ip/*.h //usr/local/include/ip
install -c -D -m 644 osc/*.h //usr/local/include/osc
SUCCESS! oscpack has been installed in //usr/local/lib and //usr/local/include/ospack/
QT예제 - timer 프로그램
timer 프로그램 컴파일
X
user@localhost:~
[user@localhost]$ git clone https://github.com/dimitry-ishenko-casparcg/timer.git
[user@localhost]$ cd timer
[user@localhost]$ qmake
[user@localhost]$ ls
Makefile  README.md  res  screenshot.png  src  timer.pro
[user@localhost]$ make
timer 프로그램 실행
X
user@localhost:~
[user@localhost]$ ./timer

댓글

이 블로그의 인기 게시물

OpenPose를 이용한 사람의 움직임 감지(Human Pose Estimation)

[라즈베리파이] Openssl 설치 1.0.1