taotieren
taotieren
这两个文件也是需要依赖的吗? qcustomplot.c and qcustomplot.h
```bash yay -Ss qcustomplot aur/mingw-w64-qcustomplot-qt5 2.1.0-1 (+5 0.04) Plotting library for Qt5 (mingw-w64) community/qcustomplot-doc 2.1.0-1 (3.5 MiB 10.9 MiB) Qt C++ widget for plotting and data visualization (docs) community/qcustomplot 2.1.0-1...
不影响,我这边打 补丁也可以
```bash ❯ yay -Ql qcustomplot qcustomplot /usr/ qcustomplot /usr/include/ qcustomplot /usr/include/qcustomplot.h qcustomplot /usr/lib/ qcustomplot /usr/lib/libqcustomplot.so qcustomplot /usr/lib/libqcustomplot.so.2 qcustomplot /usr/lib/libqcustomplot.so.2.1 qcustomplot /usr/lib/libqcustomplot.so.2.1.0 qcustomplot /usr/share/ qcustomplot /usr/share/doc/ qcustomplot /usr/share/doc/qcustomplot/ qcustomplot /usr/share/doc/qcustomplot/changelog.txt ```
需要改成调用库的方法 不适合直接调用 源文件 ```bash ❯ qmake WARNING: Failure to find: qcustomplot.cpp ```
你这个软件暂时没有 图标 也没有桌面文件 桌面文件可以帮你写好 图标需要你自己来定了
发行版 PKBUILD ```bash # Maintainer: taotieren _pkgname=SerialTest pkgname=serialtest pkgver=0.1.3 pkgrel=1 pkgdesc="A cross-platform serial port test tool." arch=('any') url="https://github.com/wh201906/SerialTest" license=('GPL2.1') provides=(${_pkgname}) conflicts=(${pkgname}-git) #replaces=(${pkgname}) depends=('qcustomplot' 'qt5-serialport') makedepends=('qt5-tools') backup=() options=('!strip') install=${pkgname}.install source=("${_pkgname}-${pkgver}.tar.gz::https://ghproxy.com/${url}/archive/refs/tags/V${pkgver}.tar.gz" "${pkgname}.install")...
编写开发版的 PKGBUILD ```bash # Maintainer: taotieren _pkgname=SerialTest pkgname=serialtest-git pkgver=0.1.2.r5.g72df387 pkgrel=1 pkgdesc="A cross-platform serial port test tool." arch=('any') url="https://github.com/wh201906/SerialTest" license=('GPL2.1') provides=(${_pkgname}) conflicts=(${pkgname%-git}) #replaces=(${pkgname}) depends=('qcustomplot' 'qt5-serialport') makedepends=('qt5-tools' 'git') backup=() options=('!strip') install=${pkgname}.install source=("${_pkgname}::git+${url}.git"...
  手动编译可以了,我改下开发版的 PKGBUILD
 桌面文件创建好了但是没有图标 还有一个问题是 串口设备的 rules 文件