mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
11 lines
419 B
Bash
11 lines
419 B
Bash
#!/bin/sh
|
|
apt-get update --fix-missing -y
|
|
apt-get install libgl1-mesa-dev -y
|
|
apt-get install qtbase5-dev -y
|
|
apt-get install libqt5charts5* -y
|
|
apt-get install libqt5serialbus5* -y
|
|
apt-get install libqt5websockets5* -y
|
|
apt-get install libqt5serialport5* -y
|
|
mkdir buildqt5
|
|
cd buildqt5
|
|
cmake -DQT_DIR=/usr/lib/x86_64-linux-gnu/cmake/Qt5 -DQt5_DIR=/usr/lib/x86_64-linux-gnu/cmake/Qt5 -DCMAKE_BUILD_TYPE="Release" ../ && make |