Giter Club home page Giter Club logo

Comments (55)

wh201906 avatar wh201906 commented on May 26, 2024

@taotieren 非常感谢!
因为我之前没接触过linux上面的打包,所以我不知道怎么看依赖哪些软件包
对V0.1.2版本的程序跑ldd结果如下

VirtualBox:~/SerialTest/src/build$ ldd SerialTest 
	linux-vdso.so.1 (0x00007ffd7ffb4000)
	libQt5PrintSupport.so.5 => /lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007fe372c3e000)
	libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007fe3725a3000)
	libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007fe371fb8000)
	libQt5SerialPort.so.5 => /lib/x86_64-linux-gnu/libQt5SerialPort.so.5 (0x00007fe371f9d000)
	libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007fe371a54000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe371872000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe371721000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe371706000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe371514000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe3714f1000)
	libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007fe371469000)
	libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fe371431000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe371413000)
	libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007fe37130e000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007fe3712e1000)
	libicui18n.so.66 => /lib/x86_64-linux-gnu/libicui18n.so.66 (0x00007fe370fe2000)
	libicuuc.so.66 => /lib/x86_64-linux-gnu/libicuuc.so.66 (0x00007fe370dfc000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe370df6000)
	libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007fe370d71000)
	libdouble-conversion.so.3 => /lib/x86_64-linux-gnu/libdouble-conversion.so.3 (0x00007fe370d5b000)
	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fe370c32000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fe372e45000)
	libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007fe370b7a000)
	libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fe370b46000)
	libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fe370a85000)
	libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007fe370a58000)
	libicudata.so.66 => /lib/x86_64-linux-gnu/libicudata.so.66 (0x00007fe36ef97000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fe36ef24000)
	libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007fe36ede7000)
	libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fe36edbb000)
	libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007fe36edb5000)
	libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fe36edad000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fe36ed93000)

不知道这些信息有帮助吗

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

Qt当中用到的模块如下

QT       += core gui serialport printsupport
android {
    QT += bluetooth androidextras
}

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

这两个文件也是需要依赖的吗?
qcustomplot.c and qcustomplot.h

from serialtest.

taotieren avatar taotieren commented on May 26, 2024
 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 (469.4 KiB 1.7 MiB) 
    Qt C++ widget for plotting and data visualization

Arch 里面有这个包
我添加下依赖应该是没问题的

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

是的,但是目前编译的时候qcustomplot是直接作为源码编译进去的,不是依赖库。不知道这个有影响没

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

不影响,我这边打 补丁也可以

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

好的,辛苦了!

from serialtest.

taotieren avatar taotieren commented on May 26, 2024
❯ 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

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

需要改成调用库的方法
不适合直接调用 源文件

❯ qmake
WARNING: Failure to find: qcustomplot.cpp

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

你这个软件暂时没有 图标 也没有桌面文件
桌面文件可以帮你写好
图标需要你自己来定了

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

发行版 PKBUILD

# Maintainer: taotieren <[email protected]>

_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")
sha256sums=('e386cea5b8828b83b9800839e6f72a45304b38300921e6c71490a1e03d607e7e'
            '303f34246c0d341e1093d6e486e2cbfdbbb0d122d751de649f562ebac37777b4')

build() {
    cd "${srcdir}/${_pkgname}-${pkgver}/src/"
    qmake
    make
}

package() {
    install -Dm0755 "${srcdir}/${_pkgname}/src/${_pkgname}"  "${pkgdir}/usr/bin/${pkgname}"

    install -Dm0644 /dev/stdin "${pkgdir}/usr/share/metainfo/io.github.wh201906.serialtest.metainfo.xml" << EOF
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
  <id>io.github.wh201906.serialtest</id>

  <name>SerialTest</name>
  <summary>SerialTest</summary>

  <metadata_license>MIT</metadata_license>
  <project_license>GPL-2.0-or-later</project_license>

  <description>
    <p>
      A cross-platform serial port test tool.
    </p>
  </description>

  <launchable type="desktop-id">io.github.wh201906.serialtest.desktop</launchable>
</component>
EOF

    install -Dm0644 /dev/stdin "${pkgdir}/usr/share/applications/io.github.wh201906.serialtest.desktop" << EOF
[Desktop Entry]
Version=1.0
Type=Application

Name=SerialTest
Comment=SerialTest
Categories=Development;Electronics;

Icon=serialtest
Exec=serialtest
Terminal=false
EOF

    install -Dm0644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
#    install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/pkg/20-usb-serial.rules" "${pkgdir}/etc/udev/rules.d/20-usb-serial.rules"
}

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

@taotieren 我在dev分支下更新了qmake文件,现在应该支持调用库了。你可以

git clone https://github.com/wh201906/SerialTest -b dev

之后看下能不能成功编译

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

编写开发版的 PKGBUILD

# Maintainer: taotieren <[email protected]>

_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"
        "${pkgname}.install")
sha256sums=('SKIP'
            '303f34246c0d341e1093d6e486e2cbfdbbb0d122d751de649f562ebac37777b4')

prepare() {
    cd "${srcdir}/${_pkgname}/"
    git checkout dev
}

pkgver() {
    cd "${srcdir}/${_pkgname}/"
    git describe --long --tags | sed 's/V//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd "${srcdir}/${_pkgname}/src/"
    qmake
    make
}

package() {
    install -Dm0755 "${srcdir}/${_pkgname}/src/${_pkgname}"  "${pkgdir}/usr/bin/${pkgname%-git}"

    install -Dm0644 /dev/stdin "${pkgdir}/usr/share/metainfo/io.github.wh201906.serialtest.metainfo.xml" << EOF
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
  <id>io.github.wh201906.serialtest</id>

  <name>SerialTest</name>
  <summary>SerialTest</summary>

  <metadata_license>MIT</metadata_license>
  <project_license>GPL-2.0-or-later</project_license>

  <description>
    <p>
      A cross-platform serial port test tool.
    </p>
  </description>

  <launchable type="desktop-id">io.github.wh201906.serialtest.desktop</launchable>
</component>
EOF

    install -Dm0644 /dev/stdin "${pkgdir}/usr/share/applications/io.github.wh201906.serialtest.desktop" << EOF
[Desktop Entry]
Version=1.0
Type=Application

Name=SerialTest
Comment=SerialTest
Categories=Development;Electronics;

Icon=serialtest
Exec=serialtest
Terminal=false
EOF

    install -Dm0644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
#    install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/pkg/20-usb-serial.rules" "${pkgdir}/etc/udev/rules.d/20-usb-serial.rules"
}

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

image
image

手动编译可以了,我改下开发版的 PKGBUILD

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

arch linux有默认图标之类的吗?一时半会儿想不出什么好的图标来

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

image
桌面文件创建好了但是没有图标
还有一个问题是 串口设备的 rules 文件

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

rules文件是什么情况?

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

rules文件是什么情况?

serialtest-git on  master [?] 
❯ cat /etc/udev/rules.d/99-xfel.rules 
# Copy this file to /etc/udev/rules.d/ or /usr/lib/udev/rules.d/
# If rules fail to reload automatically, you can refresh udev rules
# with the command "sudo udevadm control --reload"

ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="efe8", MODE="666", GROUP="users" TEST=="power/autosuspend", ATTR{power/autosuspend}="-1"


serialtest-git on  master [?] 
❯ cat /etc/udev/rules.d/10-h7tool.rules 
# Copy this file to /etc/udev/rules.d/ or /usr/lib/udev/rules.d/
# If rules fail to reload automatically, you can refresh udev rules
# with the command "sudo udevadm control --reload"

ACTION!="add|change", SUBSYSTEM!="usb_device", GOTO="h7tool_rules_end"

# SUBSYSTEM=="gpio", MODE="0666", GROUP="plugdev", TAG+="uaccess"

# SUBSYSTEM!="usb|tty|hidraw", GOTO="h7tool_rules_end"

# Please keep this list sorted by VID:PID

# H7-tool
# ATTRS{idVendor}=="c251", ATTRS{idProduct}=="f00a", MODE="666", GROUP="plugdev", TAG+="uaccess"
# BUS=='usb',
ATTRS{manufacturer}=="H7-TOOL By ARMFLY", MODE="0666", GROUP="plugdev", TAG+="uaccess"

LABEL="h7tool_rules_end"

serialtest-git on  master [?] 
❯ cat /etc/udev/rules.d/99-nuclei.rules 
# Copy this file to /etc/udev/rules.d/
# If rules fail to reload automatically, you can refresh udev rules
# with the command "udevadm control --reload"

# This rules are based on the udev rules from the OpenOCD project, with unsupported probes removed.
# See http://openocd.org/ for more details.
#
# This file is available under the GNU General Public License v2.0

ACTION!="add|change", GOTO="nuclei_rules_end"

#SUBSYSTEM=="gpio", MODE="0660", GROUP="plugdev", TAG+="uaccess"

SUBSYSTEM!="usb|tty|hidraw", GOTO="nuclei_rules_end"

# [GNU MCU Eclipse] -----------------------------------------------------------
# To simplify access, the access rights were changed from:
#   MODE="660", GROUP="plugdev", TAG+="uaccess"
# to:
#   MODE="666"
# -----------------------------------------------------------------------------

# Please keep this list sorted by VID:PID

# nuclei 
SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6010", MODE="666", GROUP="plugdev"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="666", GROUP="plugdev"

LABEL="nuclei_rules_end"
serialtest-git on  master [?] 
❯ cat /etc/udev/rules.d/99-xfel.rules 
# Copy this file to /etc/udev/rules.d/ or /usr/lib/udev/rules.d/
# If rules fail to reload automatically, you can refresh udev rules
# with the command "sudo udevadm control --reload"

ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="efe8", MODE="666", GROUP="users" TEST=="power/autosuspend", ATTR{power/autosuspend}="-1"


serialtest-git on  master [?] 
❯ cat /etc/udev/rules.d/10-h7tool.rules 
# Copy this file to /etc/udev/rules.d/ or /usr/lib/udev/rules.d/
# If rules fail to reload automatically, you can refresh udev rules
# with the command "sudo udevadm control --reload"

ACTION!="add|change", SUBSYSTEM!="usb_device", GOTO="h7tool_rules_end"

# SUBSYSTEM=="gpio", MODE="0666", GROUP="plugdev", TAG+="uaccess"

# SUBSYSTEM!="usb|tty|hidraw", GOTO="h7tool_rules_end"

# Please keep this list sorted by VID:PID

# H7-tool
# ATTRS{idVendor}=="c251", ATTRS{idProduct}=="f00a", MODE="666", GROUP="plugdev", TAG+="uaccess"
# BUS=='usb',
ATTRS{manufacturer}=="H7-TOOL By ARMFLY", MODE="0666", GROUP="plugdev", TAG+="uaccess"

LABEL="h7tool_rules_end"

serialtest-git on  master [?] 
❯ cat /etc/udev/rules.d/99-nuclei.rules 
# Copy this file to /etc/udev/rules.d/
# If rules fail to reload automatically, you can refresh udev rules
# with the command "udevadm control --reload"

# This rules are based on the udev rules from the OpenOCD project, with unsupported probes removed.
# See http://openocd.org/ for more details.
#
# This file is available under the GNU General Public License v2.0

ACTION!="add|change", GOTO="nuclei_rules_end"

#SUBSYSTEM=="gpio", MODE="0660", GROUP="plugdev", TAG+="uaccess"

SUBSYSTEM!="usb|tty|hidraw", GOTO="nuclei_rules_end"

# [GNU MCU Eclipse] -----------------------------------------------------------
# To simplify access, the access rights were changed from:
#   MODE="660", GROUP="plugdev", TAG+="uaccess"
# to:
#   MODE="666"
# -----------------------------------------------------------------------------

# Please keep this list sorted by VID:PID

# nuclei 
SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6010", MODE="666", GROUP="plugdev"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="666", GROUP="plugdev"

LABEL="nuclei_rules_end"

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

反馈一个 bug
连续单击 打开 两次或两次以上
image
image

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

运行的时候会生成 preference.ini 配置文件
能指定生成位置吗?如
/usr/share/serialtest/preference.ini

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

刚才你说的bug是指没有做中文翻译吗?我会在下一个版本当中加上去

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

目前preference.ini文件的生成位置就是在程序的运行目录下,这样从不同的目录启动时就能加载不同的配置文件,方便对不同的硬件设备配置不同的绘图选项或者控制面板选项

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

目前 preference.ini 文件的生成位置就是在程序的运行目录下

我将 SerialTest 安装到 /usr/share/serialtest/
并创建一个 serialtest 文件,内容如下:

install -Dm0755 /dev/stdin /usr/bin/serialtest << EOF
#!/bin/bash
cd /usr/share/serialtest/
./SerialTest "\$@"
EOF

在用户目录下运行后并不会在 /usr/share/serialtest/ 目录下生成 preference.ini 文件 也没有错误提示

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

因为运行目录是在~/下,所以preferences.ini也是在~/下产生的

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

开发版的测试 PKGBUILD

# Maintainer: taotieren <[email protected]>

_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"
        "${pkgname}.install")
sha256sums=('SKIP'
            '303f34246c0d341e1093d6e486e2cbfdbbb0d122d751de649f562ebac37777b4')

prepare() {
    cd "${srcdir}/${_pkgname}/"
    git checkout dev
}

pkgver() {
    cd "${srcdir}/${_pkgname}/"
    git describe --long --tags | sed 's/V//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd "${srcdir}/${_pkgname}/src/"
    qmake
    make
}

package() {
    install -Dm0755 "${srcdir}/${_pkgname}/src/${_pkgname}"  "${pkgdir}/usr/share/${pkgname%-git}/${_pkgname}"

    install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname%-git}" << EOF
#!/bin/bash
cd /usr/share/serialtest/
./SerialTest "\$@"
EOF
      install -Dm0777 /dev/stdin "${pkgdir}/usr/share/${pkgname%-git}/preference.ini" << EOF

EOF

    install -Dm0644 /dev/stdin "${pkgdir}/usr/share/metainfo/io.github.wh201906.serialtest.metainfo.xml" << EOF
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
  <id>io.github.wh201906.serialtest</id>

  <name>SerialTest</name>
  <summary>SerialTest</summary>

  <metadata_license>MIT</metadata_license>
  <project_license>GPL-2.0-or-later</project_license>

  <description>
    <p>
      A cross-platform serial port test tool.
    </p>
  </description>

  <launchable type="desktop-id">io.github.wh201906.serialtest.desktop</launchable>
</component>
EOF

    install -Dm0644 /dev/stdin "${pkgdir}/usr/share/applications/io.github.wh201906.serialtest.desktop" << EOF
[Desktop Entry]
Version=1.0
Type=Application

Name=SerialTest
Comment=SerialTest
Categories=Development;Electronics;

Icon=serialtest
Exec=serialtest
Terminal=false
EOF

    install -Dm0644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
#    install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/pkg/20-usb-serial.rules" "${pkgdir}/etc/udev/rules.d/20-usb-serial.rules"
}

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

创建空文件放在哪里也不行,/usr/share/serialtest 没有权限进行 操作
Linux 下的建议做法是用户的配置文件用户的目录 ~/.config/SerialTest/ 下,

/usr/share/serialtest🔒 
❯ ls -lash                                 
总用量 388K
4.0K drwxr-xr-x   2 root root 4.0K  2月 17 22:14 .
 12K drwxr-xr-x 367 root root  12K  2月 17 22:08 ..
4.0K -rwxrwxrwx   1 root root    1  2月 17 22:14 preference.ini
368K -rwxr-xr-x   1 root root 367K  2月 17 22:14 SerialTest

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

那有点麻烦了
我尽量下个版本加个设置界面,允许用户改变配置文件的位置。这样应该能解决问题。

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

那有点麻烦了 我尽量下个版本加个设置界面,允许用户改变配置文件的位置。这样应该能解决问题。

直接默认配置到 ~/.config/SerialTest/ 目录是最好,最通用的做法

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

因为还有Windows端。我之前设计的时候是想着配置文件和可执行文件放在一起,然后可以免安装使用,也不会对注册表或者其它目录造成影响

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

开发版已经提交到 ArchLinux 的 AUR 仓库 https://aur.archlinux.org/packages/serialtest-git
发行版还有问题没处理,暂时编译过不了就没提交了

❯ sha256sum serialtest-git-0.1.2.r5.g72df387-1-any.pkg.tar.zst 
6e906b34f85c619cb49cc0d45bb60a248de65bd1b047f161d639d87ac5be9696  serialtest-git-0.1.2.r5.g72df387-1-any.pkg.tar.zst

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

好的,十分感谢!

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

因为还有Windows端。我之前设计的时候是想着配置文件和可执行文件放在一起,然后可以免安装使用,也不会对注册表或者其它目录造成影响

可以参考 Arch 的打包规则

https://wiki.archlinux.org/title/Arch_package_guidelines

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

好的

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

好的,十分感谢!

发行版的 PKGBUILD 也写好了,等找到 图标 和修复配置文件的问题后在上传到 AUR 那边

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

好的,等我做好之后告诉你

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

@taotieren 现在图标和配置文件都解决了,src/icon/icon.png是原始图片。
目前在Ubuntu上编译还需要安装一个qtconnectivity5-dev来支持蓝牙。
如果方便的话还望能够再帮忙打包一下,谢谢!

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

OK,晚点测试下

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

如果安装脚本能够在安装完成之后在~/.config/SerialTest/目录下新建一个preference.ini,那么程序就会使用此文件作为配置文件

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

如果安装脚本能够在安装完成之后在~/.config/SerialTest/目录下新建一个preference.ini,那么程序就会使用此文件作为配置文件

我在安装脚本文件中进行了如下处理,暂时还没编译测试。

post_install() {
  udevadm trigger
  udevadm control --reload-rules
}

check_preference() {
  if [ ! -f $HOME/.config/SerialTest/preference.ini ]; then
    touch $HOME/.config/SerialTest/preference.ini
  fi
}

remove_preference() {
  if [ -f $HOME/.config/SerialTest/preference.ini ]; then
    rm -rf $HOME/.config/SerialTest
  fi
}

post_upgrade() {
  post_install
  remove_preference
  check_preference
}

post_remove() {
  post_install
  remove_preference
}

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

@taotieren 现在图标和配置文件都解决了,src/icon/icon.png是原始图片。 目前在Ubuntu上编译还需要安装一个qtconnectivity5-dev来支持蓝牙。 如果方便的话还望能够再帮忙打包一下,谢谢!
arch 的包是 qt5-connectivity

❯ yay -Qi qt5-connectivity      
名字           : qt5-connectivity
版本           : 5.15.5+kde+r5-1
描述           : Provides access to Bluetooth hardware
架构           : x86_64
URL            : https://www.qt.io
软件许可       : GPL3
                 LGPL3
                 FDL
                 custom
组             : qt
                 qt5
提供           : 无
依赖于         : qt5-base
                 bluez-libs
可选依赖       : qt5-declarative: QML bindings [已安装]
依赖它         : serial-studio
被可选依赖     : python-pyqt5
与它冲突       : 无
取代           : 无
安装后大小     : 2033.17 KiB
打包者         : Antonio
                 Rojas
                 <[email protected]>
编译日期       : 2022年06月18日 星期六 21时12分46秒
安装日期       : 2022年06月19日 星期日 18时13分57秒
安装原因       : 作为其他软件包的依赖关系安装
安装脚本       : 否
验证者         : 数字签名

yay -Ql qt5-connectivity
qt5-connectivity /usr/
qt5-connectivity /usr/bin/
qt5-connectivity /usr/bin/sdpscanner
qt5-connectivity /usr/include/
qt5-connectivity /usr/include/qt/
qt5-connectivity /usr/include/qt/QtBluetooth/
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/adapter1_bluez5_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/adapter_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/agent_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/androidbroadcastreceiver_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/battery1_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/bluetoothmanagement_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/bluez5_helper_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/bluez_data_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/btdelegates_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/btraii_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/device1_bluez5_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/device_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/devicediscoverybroadcastreceiver_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/dummy_helper_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/gattchar1_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/gattdesc1_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/gattservice1_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/hcimanager_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/inputstreamthread_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/jni_android_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/lecmaccalculator_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/localdevicebroadcastreceiver_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/lowenergynotificationhub_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/manager_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/obex_agent_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/obex_client1_bluez5_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/obex_client_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/obex_manager_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/obex_objectpush1_bluez5_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/obex_transfer1_bluez5_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/obex_transfer_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/objectmanager_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbluetooth_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtcentralmanager_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtconnectionmonitor_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtdeviceinquiry_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtdevicepair_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtgcdtimer_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtl2capchannel_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtledeviceinquiry_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtnotifier_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtobexsession_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtperipheralmanager_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtrfcommchannel_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtsdpinquiry_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtservicerecord_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtsocketlistener_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/osxbtutility_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/profile1_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/profile1context_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/profilemanager1_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/properties_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothaddress_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothdevicediscoveryagent_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothdeviceinfo_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothhostinfo_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothlocaldevice_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothserver_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothservicediscoveryagent_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothserviceinfo_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothsocket_android_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothsocket_bluez_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothsocket_bluezdbus_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothsocket_dummy_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothsocket_osx_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothsocket_win_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothsocket_winrt_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothsocketbase_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothtransferreply_bluez_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothtransferreply_osx_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothtransferreply_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothtransferrequest_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qbluetoothutils_winrt_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qleadvertiser_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qlowenergycontroller_android_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qlowenergycontroller_bluez_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qlowenergycontroller_bluezdbus_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qlowenergycontroller_darwin_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qlowenergycontroller_dummy_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qlowenergycontroller_win_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qlowenergycontroller_winrt_new_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qlowenergycontroller_winrt_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qlowenergycontrollerbase_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qlowenergyserviceprivate_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qprivatelinearbuffer_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qtbluetooth-config_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qtbluetoothglobal_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/qwinlowenergybluetooth_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/remotedevicemanager_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/serveracceptancethread_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/service_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/servicediscoverybroadcastreceiver_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/servicemap_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/5.15.5/QtBluetooth/private/uistrings_p.h
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothAddress
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothDeviceDiscoveryAgent
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothDeviceInfo
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothHostInfo
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothLocalDevice
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothServer
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothServiceDiscoveryAgent
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothServiceInfo
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothSocket
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothTransferManager
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothTransferReply
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothTransferRequest
qt5-connectivity /usr/include/qt/QtBluetooth/QBluetoothUuid
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyAdvertisingData
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyAdvertisingParameters
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyCharacteristic
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyCharacteristicData
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyConnectionParameters
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyController
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyDescriptor
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyDescriptorData
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyHandle
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyService
qt5-connectivity /usr/include/qt/QtBluetooth/QLowEnergyServiceData
qt5-connectivity /usr/include/qt/QtBluetooth/QtBluetooth
qt5-connectivity /usr/include/qt/QtBluetooth/QtBluetoothDepends
qt5-connectivity /usr/include/qt/QtBluetooth/QtBluetoothVersion
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetooth.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothaddress.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothdevicediscoveryagent.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothdeviceinfo.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothglobal.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothhostinfo.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothlocaldevice.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothserver.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothservicediscoveryagent.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothserviceinfo.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothsocket.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothtransfermanager.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothtransferreply.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothtransferrequest.h
qt5-connectivity /usr/include/qt/QtBluetooth/qbluetoothuuid.h
qt5-connectivity /usr/include/qt/QtBluetooth/qlowenergyadvertisingdata.h
qt5-connectivity /usr/include/qt/QtBluetooth/qlowenergyadvertisingparameters.h
qt5-connectivity /usr/include/qt/QtBluetooth/qlowenergycharacteristic.h
qt5-connectivity /usr/include/qt/QtBluetooth/qlowenergycharacteristicdata.h
qt5-connectivity /usr/include/qt/QtBluetooth/qlowenergyconnectionparameters.h
qt5-connectivity /usr/include/qt/QtBluetooth/qlowenergycontroller.h
qt5-connectivity /usr/include/qt/QtBluetooth/qlowenergydescriptor.h
qt5-connectivity /usr/include/qt/QtBluetooth/qlowenergydescriptordata.h
qt5-connectivity /usr/include/qt/QtBluetooth/qlowenergyservice.h
qt5-connectivity /usr/include/qt/QtBluetooth/qlowenergyservicedata.h
qt5-connectivity /usr/include/qt/QtBluetooth/qtbluetooth-config.h
qt5-connectivity /usr/include/qt/QtBluetooth/qtbluetoothglobal.h
qt5-connectivity /usr/include/qt/QtBluetooth/qtbluetoothversion.h
qt5-connectivity /usr/include/qt/QtNfc/
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/adapter_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/agent_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/androidjninfc_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/androidmainnewintentlistener_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/dbusobjectmanager_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/dbusproperties_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/manager_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/neard_helper_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qllcpserver_android_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qllcpserver_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qllcpserver_p_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qllcpsocket_android_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qllcpsocket_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qllcpsocket_p_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qndefnfcsmartposterrecord_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qndefrecord_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldmanager_android_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldmanager_emulator_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldmanager_neard_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldmanager_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldmanagerimpl_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldmanagervirtualbase_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldsharemanager_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldsharemanagerimpl_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldsharetarget_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldsharetargetimpl_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldtagtype1_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldtagtype2_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldtagtype3_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldtagtype4_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldtarget_android_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldtarget_emulator_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldtarget_neard_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qnearfieldtarget_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qtlv_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/qtnfcglobal_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/tag_p.h
qt5-connectivity /usr/include/qt/QtNfc/5.15.5/QtNfc/private/targetemulator_p.h
qt5-connectivity /usr/include/qt/QtNfc/QNdefFilter
qt5-connectivity /usr/include/qt/QtNfc/QNdefMessage
qt5-connectivity /usr/include/qt/QtNfc/QNdefNfcIconRecord
qt5-connectivity /usr/include/qt/QtNfc/QNdefNfcSmartPosterRecord
qt5-connectivity /usr/include/qt/QtNfc/QNdefNfcTextRecord
qt5-connectivity /usr/include/qt/QtNfc/QNdefNfcUriRecord
qt5-connectivity /usr/include/qt/QtNfc/QNdefRecord
qt5-connectivity /usr/include/qt/QtNfc/QNearFieldManager
qt5-connectivity /usr/include/qt/QtNfc/QNearFieldShareManager
qt5-connectivity /usr/include/qt/QtNfc/QNearFieldShareTarget
qt5-connectivity /usr/include/qt/QtNfc/QNearFieldTarget
qt5-connectivity /usr/include/qt/QtNfc/QQmlNdefRecord
qt5-connectivity /usr/include/qt/QtNfc/QtNfc
qt5-connectivity /usr/include/qt/QtNfc/QtNfcDepends
qt5-connectivity /usr/include/qt/QtNfc/QtNfcVersion
qt5-connectivity /usr/include/qt/QtNfc/qndeffilter.h
qt5-connectivity /usr/include/qt/QtNfc/qndefmessage.h
qt5-connectivity /usr/include/qt/QtNfc/qndefnfcsmartposterrecord.h
qt5-connectivity /usr/include/qt/QtNfc/qndefnfctextrecord.h
qt5-connectivity /usr/include/qt/QtNfc/qndefnfcurirecord.h
qt5-connectivity /usr/include/qt/QtNfc/qndefrecord.h
qt5-connectivity /usr/include/qt/QtNfc/qnearfieldmanager.h
qt5-connectivity /usr/include/qt/QtNfc/qnearfieldsharemanager.h
qt5-connectivity /usr/include/qt/QtNfc/qnearfieldsharetarget.h
qt5-connectivity /usr/include/qt/QtNfc/qnearfieldtarget.h
qt5-connectivity /usr/include/qt/QtNfc/qnfcglobal.h
qt5-connectivity /usr/include/qt/QtNfc/qqmlndefrecord.h
qt5-connectivity /usr/include/qt/QtNfc/qtnfcglobal.h
qt5-connectivity /usr/include/qt/QtNfc/qtnfcversion.h
qt5-connectivity /usr/lib/
qt5-connectivity /usr/lib/cmake/
qt5-connectivity /usr/lib/cmake/Qt5Bluetooth/
qt5-connectivity /usr/lib/cmake/Qt5Bluetooth/Qt5BluetoothConfig.cmake
qt5-connectivity /usr/lib/cmake/Qt5Bluetooth/Qt5BluetoothConfigVersion.cmake
qt5-connectivity /usr/lib/cmake/Qt5Nfc/
qt5-connectivity /usr/lib/cmake/Qt5Nfc/Qt5NfcConfig.cmake
qt5-connectivity /usr/lib/cmake/Qt5Nfc/Qt5NfcConfigVersion.cmake
qt5-connectivity /usr/lib/libQt5Bluetooth.prl
qt5-connectivity /usr/lib/libQt5Bluetooth.so
qt5-connectivity /usr/lib/libQt5Bluetooth.so.5
qt5-connectivity /usr/lib/libQt5Bluetooth.so.5.15
qt5-connectivity /usr/lib/libQt5Bluetooth.so.5.15.5
qt5-connectivity /usr/lib/libQt5Nfc.prl
qt5-connectivity /usr/lib/libQt5Nfc.so
qt5-connectivity /usr/lib/libQt5Nfc.so.5
qt5-connectivity /usr/lib/libQt5Nfc.so.5.15
qt5-connectivity /usr/lib/libQt5Nfc.so.5.15.5
qt5-connectivity /usr/lib/pkgconfig/
qt5-connectivity /usr/lib/pkgconfig/Qt5Bluetooth.pc
qt5-connectivity /usr/lib/pkgconfig/Qt5Nfc.pc
qt5-connectivity /usr/lib/qt/
qt5-connectivity /usr/lib/qt/mkspecs/
qt5-connectivity /usr/lib/qt/mkspecs/modules/
qt5-connectivity /usr/lib/qt/mkspecs/modules/qt_lib_bluetooth.pri
qt5-connectivity /usr/lib/qt/mkspecs/modules/qt_lib_bluetooth_private.pri
qt5-connectivity /usr/lib/qt/mkspecs/modules/qt_lib_nfc.pri
qt5-connectivity /usr/lib/qt/mkspecs/modules/qt_lib_nfc_private.pri
qt5-connectivity /usr/lib/qt/qml/
qt5-connectivity /usr/lib/qt/qml/QtBluetooth/
qt5-connectivity /usr/lib/qt/qml/QtBluetooth/libdeclarative_bluetooth.so
qt5-connectivity /usr/lib/qt/qml/QtBluetooth/plugins.qmltypes
qt5-connectivity /usr/lib/qt/qml/QtBluetooth/qmldir
qt5-connectivity /usr/lib/qt/qml/QtNfc/
qt5-connectivity /usr/lib/qt/qml/QtNfc/libdeclarative_nfc.so
qt5-connectivity /usr/lib/qt/qml/QtNfc/plugins.qmltypes
qt5-connectivity /usr/lib/qt/qml/QtNfc/qmldir
qt5-connectivity /usr/share/
qt5-connectivity /usr/share/licenses/
qt5-connectivity /usr/share/licenses/qt5-connectivity

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

干净的编译环境测试

serialtest on  master [!?] took 24s 
❯ extra-x86_64-build
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

warning: insufficient columns available for table display
Packages (39) archlinux-keyring-20220727-1
              binutils-2.39-2
              ca-certificates-mozilla-3.82-1
              curl-7.84.0-2
              e2fsprogs-1.46.5-4
              elfutils-0.187-2
              gcc-12.1.1-4
              gcc-libs-12.1.1-4
              glib2-2.72.3-1
              glibc-2.36-2
              gnupg-2.2.36-1
              gnutls-3.7.7-3
              gpgme-1.18.0-1
              jansson-2.14-2
              libarchive-3.6.1-2
              libcap-2.65-1
              libelf-0.187-2
              libevent-2.1.12-2
              libidn2-2.3.3-1
              libisl-0.25-1
              libldap-2.6.3-1
              libnghttp2-1.48.0-1
              libsysprof-capture-3.44.0-2
              libtirpc-1.3.3-1
              libtool-2.4.7-3
              linux-api-headers-5.18.15-1
              mpfr-4.1.0.p13-3
              nettle-3.8.1-1
              openssl-1.1.1.q-1
              pacman-6.0.1-7
              pacman-mirrorlist-20220724-1
              sqlite-3.39.2-2
              sudo-1.9.11.p3-1
              systemd-libs-251.4-1
              tzdata-2022c-1
              util-linux-2.38.1-1
              util-linux-libs-2.38.1-1
              xz-5.2.6-1
              zstd-1.5.2-7

Total Download Size:   122.32 MiB
Total Installed Size:  502.54 MiB
Net Upgrade Size:       27.53 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 gcc-12.1.1-4-x86_64 downloading...
 gcc-libs-12.1.1-4-x86_64 downloading...
 glibc-2.36-2-x86_64 downloading...
 binutils-2.39-2-x86_64 downloading...
 openssl-1.1.1.q-1-x86_64 downloading...
 glib2-2.72.3-1-x86_64 downloading...
 util-linux-2.38.1-1-x86_64 downloading...
 gnupg-2.2.36-1-x86_64 downloading...
 sudo-1.9.11.p3-1-x86_64 downloading...
 sqlite-3.39.2-2-x86_64 downloading...
 e2fsprogs-1.46.5-4-x86_64 downloading...
 linux-api-headers-5.18.15-1-any downloading...
 curl-7.84.0-2-x86_64 downloading...
 archlinux-keyring-20220727-1-any downloading...
 pacman-6.0.1-7-x86_64 downloading...
 libisl-0.25-1-x86_64 downloading...
 systemd-libs-251.4-1-x86_64 downloading...
 elfutils-0.187-2-x86_64 downloading...
 libelf-0.187-2-x86_64 downloading...
 libarchive-3.6.1-2-x86_64 downloading...
 gpgme-1.18.0-1-x86_64 downloading...
 nettle-3.8.1-1-x86_64 downloading...
 mpfr-4.1.0.p13-3-x86_64 downloading...
 libtool-2.4.7-3-x86_64 downloading...
 zstd-1.5.2-7-x86_64 downloading...
 xz-5.2.6-1-x86_64 downloading...
 util-linux-libs-2.38.1-1-x86_64 downloading...
 ca-certificates-mozilla-3.82-1-x86_64 downloading...
 libldap-2.6.3-1-x86_64 downloading...
 libevent-2.1.12-2-x86_64 downloading...
 libtirpc-1.3.3-1-x86_64 downloading...
 libidn2-2.3.3-1-x86_64 downloading...
 libnghttp2-1.48.0-1-x86_64 downloading...
 libcap-2.65-1-x86_64 downloading...
 jansson-2.14-2-x86_64 downloading...
 libsysprof-capture-3.44.0-2-x86_64 downloading...
 pacman-mirrorlist-20220724-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
upgrading linux-api-headers...
upgrading tzdata...
upgrading glibc...
warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
Generating locales...
  en_US.UTF-8... done
  de_DE.UTF-8... done
Generation complete.
upgrading openssl...
upgrading gcc-libs...
upgrading xz...
upgrading zstd...
upgrading libarchive...
upgrading libidn2...
upgrading libnghttp2...
upgrading util-linux-libs...
upgrading e2fsprogs...
New optional dependencies for e2fsprogs
    lvm2: for e2scrub
    smtp-forwarder: for e2scrub_fail
    script
    util-linux: for e2scrub
    [installed]
upgrading libldap...
upgrading libevent...
New optional dependencies for libevent
    python: event_rpcgen.py
upgrading libtirpc...
upgrading libcap...
upgrading systemd-libs...
upgrading ca-certificates-mozilla...
upgrading curl...
upgrading nettle...
upgrading gnutls...
upgrading sqlite...
upgrading libsysprof-capture...
upgrading glib2...
upgrading gnupg...
upgrading gpgme...
upgrading pacman-mirrorlist...
warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
upgrading mpfr...
upgrading pacman...
upgrading archlinux-keyring...
gpg: Warning: using insecure memory!
==> Appending keys from archlinux.gpg...
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
gpg: Warning: using insecure memory!
==> Updating trust database...
gpg: Warning: using insecure memory!
gpg: next trustdb check due at 2022-10-14
==> Updating trust database...
gpg: Warning: using insecure memory!
gpg: next trustdb check due at 2022-10-14
upgrading libelf...
installing jansson...
upgrading binutils...
upgrading elfutils...
upgrading libisl...
upgrading gcc...
upgrading libtool...
upgrading sudo...
upgrading util-linux...
:: Running post-transaction hooks...
(1/2) Rebuilding certificate stores...
(2/2) Updating the info directory file...
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [taotieren]...done
==> Making package: serialtest 0.2-0 (Sun Aug 21 00:41:00 2022)
==> Retrieving sources...
  -> Found SerialTest-0.2.tar.gz
  -> Found serialtest.install
==> Validating source files with sha256sums...
    SerialTest-0.2.tar.gz ... Passed
    serialtest.install ... Passed
==> Making package: serialtest 0.2-0 (Sun Aug 21 00:41:04 2022)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

warning: insufficient columns available for table display
Packages (83) argon2-20190702-4
              avahi-0.8+22+gfd482a7-3
              bluez-libs-5.65-2
              cryptsetup-2.5.0-1
              dbus-1.14.0-1
              device-mapper-2.03.16-2
              double-conversion-3.2.1-1
              duktape-2.7.0-4
              fontconfig-2:2.14.0-1
              freetype2-2.12.1-1
              graphite-1:1.3.14-2
              harfbuzz-5.1.0-1
              hwdata-0.361-1
              iptables-1:1.8.8-2
              kbd-2.5.1-1  kmod-30-1
              libcups-1:2.4.2-3
              libdaemon-0.14-5
              libdrm-2.4.112-1
              libedit-20210910_3.1-1
              libevdev-1.13.0-1
              libglvnd-1.4.0-3
              libgudev-237-2
              libice-1.0.10-4
              libinput-1.21.0-1
              libjpeg-turbo-2.1.3-2
              libmnl-1.0.5-1
              libnetfilter_conntrack-1.0.9-1
              libnfnetlink-1.0.2-1
              libnftnl-1.2.3-1
              libnl-3.7.0-1
              libomxil-bellagio-0.9.3-3
              libpcap-1.10.1-2
              libpciaccess-0.16-3
              libpng-1.6.37-3
              libproxy-0.4.18-1
              libsm-1.2.3-3
              libtiff-4.4.0-3
              libunwind-1.6.2-1
              libusb-1.0.26-1
              libwacom-2.4.0-1
              libx11-1.8.1-3
              libxau-1.0.9-4
              libxcb-1.15-1
              libxdamage-1.1.5-4
              libxdmcp-1.1.3-4
              libxext-1.3.4-4
              libxfixes-6.0.0-1
              libxi-1.8-1
              libxkbcommon-1.4.1-1
              libxkbcommon-x11-1.4.1-1
              libxmu-1.1.3-3
              libxrender-0.9.10-5
              libxshmfence-1.3-3
              libxt-1.2.1-1
              libxxf86vm-1.1.4-5
              llvm-libs-14.0.6-3
              lm_sensors-1:3.6.0.r41.g31d1f125-1
              md4c-0.4.8-1
              mesa-22.1.6-1
              mtdev-1.1.6-2
              popt-1.18-3
              qt5-base-5.15.5+kde+r174-1
              qt5-translations-5.15.5+kde+r2-1
              shared-mime-info-2.0+144+g13695c7-1
              systemd-251.4-1
              tslib-1.22-1
              vulkan-icd-loader-1.3.221-1
              wayland-1.21.0-1
              xcb-proto-1.15.2-1
              xcb-util-0.4.0-4
              xcb-util-image-0.4.0-4
              xcb-util-keysyms-0.4.0-4
              xcb-util-renderutil-0.3.9-4
              xcb-util-wm-0.4.1-4
              xdg-utils-1.1.3+21+g1a58bc2-1
              xkeyboard-config-2.36-3
              xorg-xprop-1.2.5-1
              xorg-xset-1.2.4-3
              xorgproto-2022.2-1
              qcustomplot-2.1.0-1
              qt5-connectivity-5.15.5+kde+r5-1
              qt5-serialport-5.15.5+kde+r0-1

Total Download Size:    80.64 MiB
Total Installed Size:  371.42 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 llvm-libs-14.0.6-3-x86_64 downloading...
 qt5-base-5.15.5+kde+r174-1-x86_64 downloading...
 mesa-22.1.6-1-x86_64 downloading...
 systemd-251.4-1-x86_64 downloading...
 libx11-1.8.1-3-x86_64 downloading...
 qt5-translations-5.15.5+kde+r2-1-any downloading...
 kbd-2.5.1-1-x86_64 downloading...
 harfbuzz-5.1.0-1-x86_64 downloading...
 libxcb-1.15-1-x86_64 downloading...
 libtiff-4.4.0-3-x86_64 downloading...
 xkeyboard-config-2.36-3-any downloading...
 cryptsetup-2.5.0-1-x86_64 downloading...
 shared-mime-info-2.0+144+g13695c7-1-x86_64 downloading...
 libxt-1.2.1-1-x86_64 downloading...
 freetype2-2.12.1-1-x86_64 downloading...
 qt5-connectivity-5.15.5+kde+r5-1-x86_64 downloading...
 hwdata-0.361-1-any downloading...
 qcustomplot-2.1.0-1-x86_64 downloading...
 libjpeg-turbo-2.1.3-2-x86_64 downloading...
 avahi-0.8+22+gfd482a7-3-x86_64 downloading...
 iptables-1:1.8.8-2-x86_64 downloading...
 libnl-3.7.0-1-x86_64 downloading...
 fontconfig-2:2.14.0-1-x86_64 downloading...
 libglvnd-1.4.0-3-x86_64 downloading...
 dbus-1.14.0-1-x86_64 downloading...
 device-mapper-2.03.16-2-x86_64 downloading...
 libinput-1.21.0-1-x86_64 downloading...
 libpcap-1.10.1-2-x86_64 downloading...
 libcups-1:2.4.2-3-x86_64 downloading...
 libdrm-2.4.112-1-x86_64 downloading...
 libpng-1.6.37-3-x86_64 downloading...
 xorgproto-2022.2-1-any downloading...
 graphite-1:1.3.14-2-x86_64 downloading...
 libxkbcommon-1.4.1-1-x86_64 downloading...
 duktape-2.7.0-4-x86_64 downloading...
 libxi-1.8-1-x86_64 downloading...
 wayland-1.21.0-1-x86_64 downloading...
 lm_sensors-1:3.6.0.r41.g31d1f125-1-x86_64 downloading...
 vulkan-icd-loader-1.3.221-1-x86_64 downloading...
 libomxil-bellagio-0.9.3-3-x86_64 downloading...
 kmod-30-1-x86_64 downloading...
 libunwind-1.6.2-1-x86_64 downloading...
 xcb-proto-1.15.2-1-any downloading...
 libedit-20210910_3.1-1-x86_64 downloading...
 libwacom-2.4.0-1-x86_64 downloading...
 libxext-1.3.4-4-x86_64 downloading...
 tslib-1.22-1-x86_64 downloading...
 bluez-libs-5.65-2-x86_64 downloading...
 libproxy-0.4.18-1-x86_64 downloading...
 md4c-0.4.8-1-x86_64 downloading...
 libice-1.0.10-4-x86_64 downloading...
 libxmu-1.1.3-3-x86_64 downloading...
 libusb-1.0.26-1-x86_64 downloading...
 popt-1.18-3-x86_64 downloading...
 libnftnl-1.2.3-1-x86_64 downloading...
 libevdev-1.13.0-1-x86_64 downloading...
 xdg-utils-1.1.3+21+g1a58bc2-1-any downloading...
 double-conversion-3.2.1-1-x86_64 downloading...
 libnetfilter_conntrack-1.0.9-1-x86_64 downloading...
 libsm-1.2.3-3-x86_64 downloading...
 libgudev-237-2-x86_64 downloading...
 qt5-serialport-5.15.5+kde+r0-1-x86_64 downloading...
 xcb-util-wm-0.4.1-4-x86_64 downloading...
 argon2-20190702-4-x86_64 downloading...
 libxdmcp-1.1.3-4-x86_64 downloading...
 xorg-xprop-1.2.5-1-x86_64 downloading...
 libxrender-0.9.10-5-x86_64 downloading...
 libxkbcommon-x11-1.4.1-1-x86_64 downloading...
 libpciaccess-0.16-3-x86_64 downloading...
 libdaemon-0.14-5-x86_64 downloading...
 xorg-xset-1.2.4-3-x86_64 downloading...
 xcb-util-image-0.4.0-4-x86_64 downloading...
 libnfnetlink-1.0.2-1-x86_64 downloading...
 mtdev-1.1.6-2-x86_64 downloading...
 libxxf86vm-1.1.4-5-x86_64 downloading...
 libxfixes-6.0.0-1-x86_64 downloading...
 xcb-util-0.4.0-4-x86_64 downloading...
 libmnl-1.0.5-1-x86_64 downloading...
 libxau-1.0.9-4-x86_64 downloading...
 xcb-util-renderutil-0.3.9-4-x86_64 downloading...
 xcb-util-keysyms-0.4.0-4-x86_64 downloading...
 libxdamage-1.1.5-4-x86_64 downloading...
 libxshmfence-1.3-3-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing libjpeg-turbo...
Optional dependencies for libjpeg-turbo
    java-runtime>11: for TurboJPEG
    Java wrapper
installing xcb-proto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing xcb-util-keysyms...
installing xcb-util-renderutil...
installing xorgproto...
installing libx11...
installing libxext...
installing libpciaccess...
installing libdrm...
installing wayland...
installing libxxf86vm...
installing libxfixes...
installing libxdamage...
installing libxshmfence...
installing libomxil-bellagio...
installing libunwind...
installing libedit...
installing llvm-libs...
installing lm_sensors...
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
    perl: for sensor detection and
    configuration convert [installed]
installing vulkan-icd-loader...
Optional dependencies for vulkan-icd-loader
    vulkan-driver: packaged vulkan
    driver
installing mesa...
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL
    API man pages
    mesa-vdpau: for accelerated video
    playback
    libva-mesa-driver: for accelerated
    video playback
installing libglvnd...
installing libpng...
installing graphite...
installing harfbuzz...
Optional dependencies for harfbuzz
    cairo: hb-view program
    chafa: hb-view program
installing freetype2...
installing fontconfig...
Creating fontconfig configuration...
Rebuilding fontconfig cache...
installing libice...
installing libsm...
installing libxt...
installing libxmu...
installing xorg-xset...
installing xorg-xprop...
installing xdg-utils...
Optional dependencies for xdg-utils
    kde-cli-tools: for KDE Plasma5
    support in xdg-open
    exo: for Xfce support in xdg-open
    pcmanfm: for LXDE support in
    xdg-open
    perl-file-mimeinfo: for generic
    support in xdg-open
    perl-net-dbus: Perl extension to
    dbus used in xdg-screensaver
    perl-x11-protocol: Perl X11
    protocol used in xdg-screensaver
installing shared-mime-info...
installing xcb-util-wm...
installing libxrender...
installing libxi...
installing xcb-util...
installing xcb-util-image...
installing tslib...
installing mtdev...
installing device-mapper...
installing popt...
installing argon2...
installing cryptsetup...
installing dbus...
installing libmnl...
installing libnftnl...
installing libnl...
installing libpcap...
installing libnfnetlink...
installing libnetfilter_conntrack...
installing iptables...
installing kbd...
installing kmod...
installing hwdata...
installing systemd...
warning: directory permissions differ on /var/log/journal/
filesystem: 755  package: 2755
Creating group 'sys' with GID 3.
Creating group 'mem' with GID 8.
Creating group 'ftp' with GID 11.
Creating group 'mail' with GID 12.
Creating group 'log' with GID 19.
Creating group 'smmsp' with GID 25.
Creating group 'proc' with GID 26.
Creating group 'games' with GID 50.
Creating group 'lock' with GID 54.
Creating group 'network' with GID 90.
Creating group 'floppy' with GID 94.
Creating group 'scanner' with GID 96.
Creating group 'power' with GID 98.
Creating group 'nobody' with GID 65534.
Creating group 'adm' with GID 999.
Creating group 'wheel' with GID 998.
Creating group 'utmp' with GID 997.
Creating group 'audio' with GID 996.
Creating group 'disk' with GID 995.
Creating group 'input' with GID 994.
Creating group 'kmem' with GID 993.
Creating group 'kvm' with GID 992.
Creating group 'lp' with GID 991.
Creating group 'optical' with GID 990.
Creating group 'render' with GID 989.
Creating group 'sgx' with GID 988.
Creating group 'storage' with GID 987.
Creating group 'tty' with GID 5.
Creating group 'uucp' with GID 986.
Creating group 'video' with GID 985.
Creating group 'users' with GID 984.
Creating group 'systemd-journal' with GID 983.
Creating group 'rfkill' with GID 982.
Creating group 'bin' with GID 1.
Creating user 'bin' (n/a) with UID 1 and GID 1.
Creating group 'daemon' with GID 2.
Creating user 'daemon' (n/a) with UID 2 and GID 2.
Creating user 'mail' (n/a) with UID 8 and GID 12.
Creating user 'ftp' (n/a) with UID 14 and GID 11.
Creating group 'http' with GID 33.
Creating user 'http' (n/a) with UID 33 and GID 33.
Creating user 'nobody' (Nobody) with UID 65534 and GID 65534.
Creating group 'dbus' with GID 81.
Creating user 'dbus' (System Message Bus) with UID 81 and GID 81.
Creating group 'systemd-coredump' with GID 981.
Creating user 'systemd-coredump' (systemd Core Dumper) with UID 981 and GID 981.
Creating group 'systemd-network' with GID 980.
Creating user 'systemd-network' (systemd Network Management) with UID 980 and GID 980.
Creating group 'systemd-oom' with GID 979.
Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 979 and GID 979.
Creating group 'systemd-journal-remote' with GID 978.
Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 978 and GID 978.
Creating group 'systemd-resolve' with GID 977.
Creating user 'systemd-resolve' (systemd Resolver) with UID 977 and GID 977.
Creating group 'systemd-timesync' with GID 976.
Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 976 and GID 976.
Creating group 'tss' with GID 975.
Creating user 'tss' (tss user for tpm2) with UID 975 and GID 975.
Creating group 'uuidd' with GID 68.
Creating user 'uuidd' (n/a) with UID 68 and GID 68.
Created symlink /etc/systemd/system/getty.target.wants/[email protected] → /usr/lib/systemd/system/[email protected].
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target.
Optional dependencies for systemd
    libmicrohttpd: remote journald
    capabilities
    quota-tools: kernel-level quota
    management
    systemd-sysvcompat: symlink
    package to provide sysvinit
    binaries
    polkit: allow administration as
    unprivileged user
    curl: machinectl pull-tar and
    pull-raw [installed]
    libfido2: unlocking LUKS2 volumes
    with FIDO2 token
    tpm2-tss: unlocking LUKS2 volumes
    with TPM2 [installed]
installing libevdev...
installing libgudev...
installing libwacom...
Optional dependencies for libwacom
    python-libevdev: for
    libwacom-show-stylus
installing libinput...
Optional dependencies for libinput
    gtk4: libinput debug-gui
    python-pyudev: libinput measure
    python-libevdev: libinput measure
installing xkeyboard-config...
installing libxkbcommon...
Optional dependencies for libxkbcommon
    libxkbcommon-x11: xkbcli
    interactive-x11 [pending]
    wayland: xkbcli
    interactive-wayland [installed]
installing libxkbcommon-x11...
installing duktape...
installing libproxy...
Optional dependencies for libproxy
    networkmanager: NetworkManager
    configuration module
    perl: Perl bindings [installed]
    python: Python 3.x bindings
    libproxy-webkit: PAC proxy support
    (via WebKit)
installing libtiff...
Optional dependencies for libtiff
    freeglut: for using tiffgt
installing libdaemon...
installing avahi...
Optional dependencies for avahi
    gtk3: avahi-discover,
    avahi-discover-standalone, bshell,
    bssh, bvnc
    qt5-base: qt5 bindings [pending]
    libevent: libevent bindings
    [installed]
    nss-mdns: NSS support for mDNS
    python-twisted: avahi-bookmarks
    python-gobject: avahi-bookmarks,
    avahi-discover
    python-dbus: avahi-bookmarks,
    avahi-discover
installing libusb...
installing libcups...
installing double-conversion...
installing md4c...
installing qt5-translations...
installing qt5-base...
Optional dependencies for qt5-base
    qt5-svg: to use SVG icon themes
    qt5-wayland: to run Qt
    applications in a Wayland session
    qt5-translations: for some native
    UI translations [installed]
    postgresql-libs: PostgreSQL driver
    mariadb-libs: MariaDB driver
    unixodbc: ODBC driver
    libfbclient: Firebird/iBase driver
    freetds: MS SQL driver
    gtk3: GTK platform plugin
    perl: for fixqt4headers and syncqt
    [installed]
installing qcustomplot...
installing qt5-serialport...
installing bluez-libs...
installing qt5-connectivity...
Optional dependencies for qt5-connectivity
    qt5-declarative: QML bindings
:: Running post-transaction hooks...
( 1/13) Creating system user accounts...
Creating group 'avahi' with GID 974.
Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 974 and GID 974.
( 2/13) Updating journal message catalog...
( 3/13) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 4/13) Updating udev hardware database...
( 5/13) Applying kernel sysctl settings...
  Skipped: Current root is not booted.
( 6/13) Creating temporary files...
( 7/13) Reloading device manager configuration...
  Skipped: Device manager is not running.
( 8/13) Arming ConditionNeedsUpdate...
( 9/13) Updating the MIME type database...
(10/13) Updating fontconfig configuration...
(11/13) Reloading system bus configuration...
  Skipped: Current root is not booted.
(12/13) Warn about old perl modules
(13/13) Updating fontconfig cache...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

warning: insufficient columns available for table display
Packages (2) hicolor-icon-theme-0.17-2
             qt5-tools-5.15.5+kde+r1-3

Total Download Size:    5.34 MiB
Total Installed Size:  15.61 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 qt5-tools-5.15.5+kde+r1-3-x86_64 downloading...
 hicolor-icon-theme-0.17-2-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing hicolor-icon-theme...
installing qt5-tools...
Optional dependencies for qt5-tools
    clang: for qdoc
    qt5-webkit: for Qt Assistant
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found SerialTest-0.2.tar.gz
  -> Found serialtest.install
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting SerialTest-0.2.tar.gz with bsdtar
==> Starting build()...
Info: creating stash file /build/serialtest/src/SerialTest-0.2/src/.qmake.stash
Project MESSAGE: Using qcustomplot library
/usr/bin/uic ui/settingstab.ui -o ui_settingstab.h
/usr/bin/uic ui/filetab.ui -o ui_filetab.h
/usr/bin/uic ui/legenditemdialog.ui -o ui_legenditemdialog.h
/usr/bin/uic ui/serialpinout.ui -o ui_serialpinout.h
/usr/bin/uic ui/devicetab.ui -o ui_devicetab.h
/usr/bin/uic ui/datatab.ui -o ui_datatab.h
/usr/bin/uic ui/ctrltab.ui -o ui_ctrltab.h
/usr/bin/uic ui/controlitem.ui -o ui_controlitem.h
/usr/bin/uic ui/mainwindow.ui -o ui_mainwindow.h
/usr/bin/uic ui/plottab.ui -o ui_plottab.h
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o adaptivestackedwidget.o adaptivestackedwidget.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o asynccrc.o asynccrc.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o connection.o connection.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o ctrltab.o ctrltab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o datatab.o datatab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o devicetab.o devicetab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o filetab.o filetab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o filexceiver.o filexceiver.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o legenditemdialog.o legenditemdialog.cpp
connection.cpp: In static member function ‘static Connection::SerialPortArgument Connection::stringList2SPArg(const QStringList&)’:
connection.cpp:184:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
  184 |             arg.id = list[6];
      |                            ^
connection.cpp:185:9: note: here
  185 |         case 6:
      |         ^~~~
connection.cpp:186:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  186 |             if((tmp = list[5].toInt(&ok)) || ok)
      |             ^~
connection.cpp:188:9: note: here
  188 |         case 5:
      |         ^~~~
connection.cpp:189:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  189 |             if((tmp = list[4].toInt(&ok)) || ok)
      |             ^~
connection.cpp:191:9: note: here
  191 |         case 4:
      |         ^~~~
connection.cpp:192:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  192 |             if((tmp = list[3].toInt(&ok)) || ok)
      |             ^~
connection.cpp:194:9: note: here
  194 |         case 3:
      |         ^~~~
connection.cpp:195:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  195 |             if((tmp = list[2].toInt(&ok)) || ok)
      |             ^~
connection.cpp:197:9: note: here
  197 |         case 2:
      |         ^~~~
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o mainwindow.o mainwindow.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o mycustomplot.o mycustomplot.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o mysettings.o mysettings.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o plottab.o plottab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o serialpinout.o serialpinout.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o settingstab.o settingstab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o util.o util.cpp
/usr/bin/rcc -name language i18n/language.qrc -o qrc_language.cpp
g++ -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/qt/mkspecs/features/data/dummy.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o controlitem.o controlitem.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o qrc_language.o qrc_language.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include adaptivestackedwidget.h -o moc_adaptivestackedwidget.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include asynccrc.h -o moc_asynccrc.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include connection.h -o moc_connection.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include controlitem.h -o moc_controlitem.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include ctrltab.h -o moc_ctrltab.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include datatab.h -o moc_datatab.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include devicetab.h -o moc_devicetab.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include filetab.h -o moc_filetab.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include filexceiver.h -o moc_filexceiver.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include legenditemdialog.h -o moc_legenditemdialog.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include mainwindow.h -o moc_mainwindow.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include mycustomplot.h -o moc_mycustomplot.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include plottab.h -o moc_plottab.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include serialpinout.h -o moc_serialpinout.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include settingstab.h -o moc_settingstab.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/serialtest/src/SerialTest-0.2/src/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/serialtest/src/SerialTest-0.2/src -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I/usr/include/c++/12.1.1 -I/usr/include/c++/12.1.1/x86_64-pc-linux-gnu -I/usr/include/c++/12.1.1/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include-fixed -I/usr/include util.h -o moc_util.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_adaptivestackedwidget.o moc_adaptivestackedwidget.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_asynccrc.o moc_asynccrc.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_connection.o moc_connection.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_controlitem.o moc_controlitem.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_ctrltab.o moc_ctrltab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_datatab.o moc_datatab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_devicetab.o moc_devicetab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_filetab.o moc_filetab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_filexceiver.o moc_filexceiver.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_legenditemdialog.o moc_legenditemdialog.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_mycustomplot.o moc_mycustomplot.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_plottab.o moc_plottab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_serialpinout.o moc_serialpinout.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_settingstab.o moc_settingstab.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtSerialPort -I/usr/include/qt/QtBluetooth -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_util.o moc_util.cpp
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -flto=8 -fno-fat-lto-objects -fuse-linker-plugin -Wl,-rpath-link,/usr/lib -fPIC -o SerialTest adaptivestackedwidget.o asynccrc.o connection.o controlitem.o ctrltab.o datatab.o devicetab.o filetab.o filexceiver.o legenditemdialog.o main.o mainwindow.o mycustomplot.o mysettings.o plottab.o serialpinout.o settingstab.o util.o qrc_language.o moc_adaptivestackedwidget.o moc_asynccrc.o moc_connection.o moc_controlitem.o moc_ctrltab.o moc_datatab.o moc_devicetab.o moc_filetab.o moc_filexceiver.o moc_legenditemdialog.o moc_mainwindow.o moc_mycustomplot.o moc_plottab.o moc_serialpinout.o moc_settingstab.o moc_util.o   -L./ -lqcustomplot /usr/lib/libQt5PrintSupport.so /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5SerialPort.so /usr/lib/libQt5Bluetooth.so /usr/lib/libQt5Network.so /usr/lib/libQt5Core.so -lGL -lpthread   
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "serialtest"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: serialtest 0.2-0 (Sun Aug 21 00:41:36 2022)
==> Installing package serialtest with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)  New Version  Net Change

serialtest   0.2-0          0.84 MiB

Total Installed Size:  0.84 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing serialtest...
LNXSYSTM:00: Failed to write 'change' to '/sys/devices/LNXSYSTM:00/uevent': Read-only file system
Failed to send reload request: No such file or directory
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
resolving dependencies...
looking for conflicting packages...

warning: insufficient columns available for table display
Packages (6) libnsl-2.0.0-2
             licenses-20220125-1
             pyalpm-0.10.6-4
             python-3.10.6-1
             python-pyelftools-0.29-1
             namcap-3.3.1-1

Total Download Size:   12.19 MiB
Total Installed Size:  57.33 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-3.10.6-1-x86_64 downloading...
 namcap-3.3.1-1-any downloading...
 licenses-20220125-1-any downloading...
 pyalpm-0.10.6-4-x86_64 downloading...
 libnsl-2.0.0-2-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing libnsl...
installing python...
Optional dependencies for python
    python-setuptools
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
installing pyalpm...
installing licenses...
installing python-pyelftools...
installing namcap...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Checking PKGBUILD
Checking serialtest-0.2-0-any.pkg.tar.zst
serialtest E: ELF file ('usr/bin/serialtest') found in an 'any' package.
serialtest W: ELF file ('usr/bin/serialtest') is unstripped.
serialtest E: GPL2.1 is not a common license (it's not in /usr/share/licenses/common/)
==> Running checkpkg
error: target not found: serialtest
==> WARNING: Skipped checkpkg due to missing repo packages

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

图片
运行时的配置路径还是有问题,
在编译脚本中对 $HOME 操作不行,需要对 /home/$USER 下处理。需要你程序上处理。

serialtest on  master [!?] took 59s 
❯ yay -U serialtest-0.2-0-any.pkg.tar.zst 
正在加载软件包...
正在解析依赖关系...
正在查找软件包冲突...

软件包 (1) serialtest-0.2-0

全部安装大小:  0.84 MiB
净更新大小:    0.44 MiB

:: 进行安装吗? [Y/n] 
(1/1) 正在检查密钥环里的密钥                       [##########################] 100%
(1/1) 正在检查软件包完整性                         [##########################] 100%
(1/1) 正在加载软件包文件                           [##########################] 100%
(1/1) 正在检查文件冲突                             [##########################] 100%
:: 正在处理软件包的变化...
(1/1) 正在更新 serialtest                          [##########################] 100%
touch: 无法 touch '/root/.config/SerialTest/preference.ini': 没有那个文件或目录
错误:命令未能被正确执行
:: 正在运行事务后钩子函数...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Refreshing PackageKit...
(3/3) Updating the desktop file MIME type cache...

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

你点一下“在系统默认配置文件夹中创建配置文件”,然后删掉/home/<username>/preference.ini试试?

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

你点一下“在系统默认配置文件夹中创建配置文件”,然后删掉/home//preference.ini试试?

图片
选择默认位置创建后会生存相应的文件,但还是会从运行处 新建配置文件,在什么位置运行 serialtest 就会在相应的位置创建配置文件,哪怕是从 ~/.config/serialtest/ 下导入配置文件,重启后还是运行处位置的配置文件,不能指定配置文件的路径。

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

我在windows环境下运行没有这个问题。程序启动时如果当前目录下没有preference.ini,而系统默认配置文件夹(Linux下为~/.config/SerialTest)中有preference.ini,那么程序就会加载后者,不会新建前者。
我不知道是不是Linux系统或者Arch Linux的问题,等我先起个Ubuntu环境试试

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

@taotieren 在全新Ubuntu环境下测试是正常的
图片

我的操作步骤如下
1.按照README.md的流程编译
2.运行程序,记录当前配置文件路径,在设置面板中点击“在系统默认配置文件夹中创建配置文件”
3.关闭程序
4.删除当前配置文件
5.再次启动,程序使用系统默认配置文件夹中的配置文件(如图)

你可以快速创建一个和我配置完全相同的环境测试一下

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

https://aur.archlinux.org/packages/serialtest

https://aur.archlinux.org/packages/serialtest-git
这编译打包的脚本文件

# Maintainer: taotieren <[email protected]>

_pkgname=SerialTest
pkgname=serialtest-git
pkgver=0.2.r1.g4458a53
pkgrel=0
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' 'qt5-connectivity')
makedepends=('qt5-tools' 'git')
backup=()
options=('!strip')
install=${pkgname}.install
source=("${_pkgname}::git+${url}.git"
        "${pkgname}.install")
sha256sums=('SKIP'
            '303f34246c0d341e1093d6e486e2cbfdbbb0d122d751de649f562ebac37777b4')

# prepare() {
#     cd "${srcdir}/${_pkgname}/"
#     git checkout dev
# }

pkgver() {
    cd "${srcdir}/${_pkgname}/"
    git describe --long --tags | sed 's/V//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd "${srcdir}/${_pkgname}/src/"
    qmake
    make
}

package() {
    install -Dm0755 "${srcdir}/${_pkgname}/src/${_pkgname}" "${pkgdir}/usr/bin/${pkgname%-git}"

    install -Dm0644 /dev/stdin "${pkgdir}/usr/share/metainfo/io.github.wh201906.serialtest.metainfo.xml" << EOF
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
  <id>io.github.wh201906.serialtest</id>

  <name>SerialTest</name>
  <summary>SerialTest</summary>

  <metadata_license>MIT</metadata_license>
  <project_license>GPL-2.0-or-later</project_license>

  <description>
    <p>
      A cross-platform serial port test tool.
    </p>
  </description>

  <launchable type="desktop-id">io.github.wh201906.serialtest.desktop</launchable>
</component>
EOF

    install -Dm0644 /dev/stdin "${pkgdir}/usr/share/applications/io.github.wh201906.serialtest.desktop" << EOF
[Desktop Entry]
Version=1.0
Type=Application

Name=SerialTest
Comment=SerialTest
Categories=Development;Electronics;

Icon=serialtest
Exec=serialtest
Terminal=false
EOF

    install -Dm0644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    install -Dm644 "$srcdir/${_pkgname}/src/icon/icon.png" "$pkgdir/usr/share/pixmaps/${pkgname}.png"
#    install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}/pkg/20-usb-serial.rules" "${pkgdir}/etc/udev/rules.d/20-usb-serial.rules"
}

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

现在能在Arch Linux上正常运行了吗?

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

现在能在Arch Linux上正常运行了吗?

这个问题还是存在,有点奇怪,你那边打包的软件包能发一下吗?我解包运行试试看。

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

我是直接编译运行的,有什么方法可以在Ubuntu上打包吗

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

@taotieren 我自己弄了个Manjaro的环境,然后用yay安装之后打开程序,在系统默认配置路径生成配置文件,关闭应用后删除当前目录下的配置文件(直接用rm删掉),然后重启应用,程序会使用新的配置文件

图片

而且,在系统默认配置路径含有配置文件的情况下,从其它目录运行也会使用这个配置文件。看上去似乎没问题?

图片

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

可能是我没有删除本地的配置文件导致。

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

那问题就算是都解决了?
如果感兴趣的话,你可以fork一份master分支,然后把arch linux上安装的命令写进去再提交一个PR

from serialtest.

taotieren avatar taotieren commented on May 26, 2024

还有几个文件需要 PR 上来,桌面启动文件和 xml 描述文件,这种放源码中什么位置合适呢?没有的话我会新建一个目录存放。

from serialtest.

wh201906 avatar wh201906 commented on May 26, 2024

要不具体细节用邮件商讨?

from serialtest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.