x-tools/Doc/zh_CN
2024-03-19 14:30:55 +08:00
..
MainWindow.png chore: change the path 2024-03-19 14:30:55 +08:00
README.md chore: change the path 2024-03-19 14:30:55 +08:00

瑞士军刀

build-windows-msvc build-windows-mingw build-ubuntu build-macos build-ios build-android

构建流程 [构建平台]-[目标平台]-[Qt版本]_编译器
build-windows-msvc windows2019-windows-qt5.9.9_msvc2017_64
windows2019-windows-qt5.12.10_msvc2017
windows2019-windows-qt5.12.10_msvc2017_64
windows2019-windows-qt5.15.2_msvc2019
windows2019-windows-qt5.15.2_msvc2019_64
build-windows-mingw windows2019-windows-qt5.12.10_mingw73_64
windows2019-windows-qt5.15.2_mingw81_64
build-ubuntu ubuntu18.04-linux-qt5.9.5
ubuntu20.04-linux-qt5.12.8
build-macos macos10.15-macos-qt5.9.9
macos10.15-macos-qt5.12.10
macos10.15-macos-qt5.15.2
build-ios macos10.15-ios-qt5.12.10
macos10.15-ios-qt5.15.2
build-android ubuntu18.04-android_x86-qt5.12.10
ubuntu18.04-android_armv7-qt5.12.10

English


如何构建工程

方法1 (适用于WindowsLinux及maxOS)

  1. 下载Qt并安装
  2. 适用QtCreator打开工程文件QtSwissArmyKnife.pro然后构建。

方法2 (仅适用于Ubuntu)

安装开发环境

sudo apt-get update --fix-missing -y
sudo apt-get install gcc g++ -y
sudo apt-get install make git -y
sudo apt-get install libgl1-mesa-dev -y
sudo apt-get install qt5-default -y
sudo apt-get install libqt5websockets5 libqt5websockets5-dev -y
sudo apt-get install libqt5serialport5 libqt5serialport5-dev -y
sudo apt-get install libqt5charts5 libqt5charts5-dev -y

注意: 命令行构建无法识别QCharts模块。

拉取并构建工程

从github拉取源码:

git clone https://gitee.com/qsaker/QtSwissArmyKnife.git

或者从gitee拉取源码:

git clone https://gitee.com/qsaker/QtSwissArmyKnife.git

如果想要弃用某些扩展功能,需要更新子模块:

git submodule update --init --recursive

Build the project:

cd QtSwissArmyKnife
qmake
make

推荐Qt版本

Qt 5.15.x其它版本可能适用可以自行尝试。

软件主界面

MainWindow.png

About the Project


   ____  __
  / __ \/ /____  _____
 / / / / __/ _ \/ ___/
/ /_/ / /_/  __/ /
\___\_\__/\___/_/