如何使用linuxdeployqt

Linuxdeployqt可以打包Qt应用程序。

Debian 系统使用 apt-get install linuxdeployqt。

CentOS 使用 yum install linuxdeployqt。

查找 exe 文件。

linuxdeployqt your_app.exe -appimage。

自动处理依赖关系。

生成AppImage文件。

AppImage直接运行或分发。

称一下体重。

CentOS8安装Geant4笔记(三):Geant4介绍、编译、安装支持Qt5界面并运行exampleB1例程显示Qt界面

要在CentOS8 .2 上安装Geant4 ,首先要安装gcc、g++和cmake。
命令行:yum,安装 gcc g++ cmake。
Geant4 源码在官网上,解压到目录下。
确保expat库配置了CMake,支持Qt5 ,并且可以安装CLHEP和Xerces-C。
当您遇到motif-devel、zlib-devel 或libXmu-devel 时,请使用yum 安装它们。
安装angant4 设置环境变量,make编译exampleB1 和./exampleB1 运行并检查。

qt. 获取nand的累计写入量

smartctl 方法适用于 Linux。

CentOS使用yum安装smartmontools。

Ubuntu 使用 apt-get 安装 smartmontools。

运行 smartctl -a /dev/sda。

寻找 NAND_Writes。

该值为累计写入量。

D7 -PS1 03 0 最大容量为 1 2 .8 TB。

累计写入量约7 0TB。

不同型号有所不同。