More general build steps for Linux

Tested on Ubuntu 18.04.6 and 23.10.1
dev
Self Not Found 1 year ago committed by GitHub
parent 38c7916715
commit 695f963991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -53,21 +53,23 @@ You can also download them in SourceForge
[![Download Proxmark3GUI](https://a.fsdn.com/con/app/sf-download-button)](https://sourceforge.net/projects/proxmark3gui/files/latest/download) [![Download Proxmark3GUI](https://a.fsdn.com/con/app/sf-download-button)](https://sourceforge.net/projects/proxmark3gui/files/latest/download)
## Build on Linux ## Build on Linux
``` ```bash
cd ~ cd ~
# sudo add-apt-repository universe
sudo apt-get update sudo apt-get update
sudo apt-get install git build-essential # sudo apt-get install git build-essential
sudo apt-get install qt5-default libqt5serialport5-dev sudo apt-get install qtbase5-dev qt5-qmake libqt5serialport5-dev
git clone https://github.com/wh201906/Proxmark3GUI.git --depth=1 git clone https://github.com/wh201906/Proxmark3GUI.git --depth=1
cd Proxmark3GUI cd Proxmark3GUI
mkdir build && cd build mkdir build && cd build
export QT_SELECT=qt5
qmake ../src qmake ../src
make -j4 && make clean make -j4 && make clean
./Proxmark3GUI ./Proxmark3GUI
``` ```
## Build on macOS ## Build on macOS
``` ```zsh
cd ~ cd ~
brew update brew update
brew install qt@5 brew install qt@5

@ -53,21 +53,23 @@ SourceForge平台上也可下载
[![Download Proxmark3GUI](https://a.fsdn.com/con/app/sf-download-button)](https://sourceforge.net/projects/proxmark3gui/files/latest/download) [![Download Proxmark3GUI](https://a.fsdn.com/con/app/sf-download-button)](https://sourceforge.net/projects/proxmark3gui/files/latest/download)
## 在Linux系统下编译 ## 在Linux系统下编译
``` ```bash
cd ~ cd ~
# sudo add-apt-repository universe
sudo apt-get update sudo apt-get update
sudo apt-get install git build-essential # sudo apt-get install git build-essential
sudo apt-get install qt5-default libqt5serialport5-dev sudo apt-get install qtbase5-dev qt5-qmake libqt5serialport5-dev
git clone https://github.com/wh201906/Proxmark3GUI.git --depth=1 git clone https://github.com/wh201906/Proxmark3GUI.git --depth=1
cd Proxmark3GUI cd Proxmark3GUI
mkdir build && cd build mkdir build && cd build
export QT_SELECT=qt5
qmake ../src qmake ../src
make -j4 && make clean make -j4 && make clean
./Proxmark3GUI ./Proxmark3GUI
``` ```
## 在macOS系统下编译 ## 在macOS系统下编译
``` ```zsh
cd ~ cd ~
brew update brew update
brew install qt@5 brew install qt@5

Loading…
Cancel
Save