自学内容网 自学内容网

qt之插件编译

QtXlsxWriter

sudo apt install qtbase5-private-dev
git clone https://github.com/dbzhang800/QtXlsxWriter.git
cd QtXlsxWriter/
qmake
make -j6
sudo make install
#将生成的lib 及 include copy至项目路径的lib 及include里

项目配置:

QT       += xlsx

bluetooth

sudo apt install libqt5bluetooth5 libqt5bluetooth5-dev
sudo apt install build-essential qtbase5-dev qtdeclarative5-dev libglib2.0-dev
git clone https://code.qt.io/qt/qtconnectivity.git
cd qtconnectivity/
git checkout remotes/origin/5.9
git pull origin 5.9
qmake
make -j$(nproc)
sudo make install
#将生成的lib copy至项目路径的lib

项目配置:

QT       += bluetooth 

参考:
https://github.com/dbzhang800/qtxlsxwriter


原文地址:https://blog.csdn.net/hensonwells/article/details/144383266

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!