1.下載下傳源碼QCustomPlot.tar.gz,下載下傳位址https://www.qcustomplot.com/index.php/download
2.解壓
#tar -zxvf QCustomPlot.tar.gz
3.下載下傳QCustomPlot-sharedlib.tar.gz
4.解壓
#tar -zxvf QCustomPlot-sharedlib.tar.gz
5.修改sharedlib-compilation中的sharedlib-compilation.pro中的源檔案路徑
SOURCES += …/…/qcustomplot/qcustomplot.cpp
HEADERS += …/…/qcustomplot/qcustomplot.h
6.生成Makefile
#qmake
7.編譯成動态庫
#make
使用objdump -x libqcustomplot.so.1.3可以檢視依賴的庫。