Installing Qwt

By | 2022년 1월 22일
Table of Contents

Installing Qwt

참조

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

소스 다운로드

https://sourceforge.net/projects/qwt/files/qwt/

unzip qwt-6.2.0.zip
cd qwt-6.2.0/
qmake qwt.pro
make
sudo make install

만약 아래와 같은 오류가 발생하면…

compiling qwt_symbol.cpp
qwt_symbol.cpp:20:26: fatal error: qsvgrenderer.h: No such file or directory
#include <qsvgrenderer.h>
^
compilation terminated.
sudo apt install libqt5svg5-dev

위 명령을 실행 후, 압축해제한 폴더를 삭제 후 다시 압출을 풀어 컴파일합니다.

cd ..
rm -rf qwt-6.2.0
unzip qwt-6.2.0.zip
cd qwt-6.2.0/
qmake qwt.pro
make
sudo make install
Category: Qt

답글 남기기