update readme

This commit is contained in:
Syping 2018-06-16 04:58:51 +02:00
parent caaa6a1d85
commit caffd9f246

View file

@ -11,26 +11,34 @@ Grand Theft Auto V Savegame and Snapmatic viewer/editor
![User Interface](res/src/mainui.png) ![User Interface](res/src/mainui.png)
![Snapmatic Properties](res/src/prop.png) ![Snapmatic Properties](res/src/prop.png)
#### Build gta5view for Debian/Ubuntu
# Note: You can use 'sudo make install' instead of 'sudo checkinstall'
sudo apt-get install git gcc g++ qtbase5-dev qttranslations5-l10n qt5-qmake make checkinstall
git clone https://gitlab.com/Syping/gta5view && cd gta5view
mkdir -p build && cd build
PREFIX=/usr ../configure
make -j $(nproc --all)
sudo checkinstall --pkgname=gta5view --pkggroup=utility --requires=libqt5core5a,libqt5gui5,libqt5network5,libqt5widgets5,qttranslations5-l10n
#### Build gta5view for Windows #### Build gta5view for Windows
# Note: Install Docker Community Edition and Git before continuing # Note: Install Docker Community Edition and Git before continuing
git clone https://github.com/SyDevTeam/gta5view && cd gta5view git clone https://gitlab.com/Syping/gta5view && cd gta5view
docker pull syping/qt5-static-mingw docker pull syping/qt5-static-mingw
docker run --rm -v ${PWD}:/gta5view -it syping/qt5-static-mingw docker run --rm -v ${PWD}:/gta5view -it syping/qt5-static-mingw
cd /gta5view && mkdir -p build && cd build cd /gta5view && mkdir -p build && cd build
qmake-static ../gta5view.pro qmake-static ../gta5view.pro
make -j $(nproc --all) make -j $(nproc --all)
#### Build gta5view for Debian/Ubuntu
sudo apt-get install git gcc g++ qtbase5-dev qttranslations5-l10n qt5-qmake make
git clone https://gitlab.com/Syping/gta5view && cd gta5view
mkdir -p build && cd build
../configure --prefix=/opt/gta5view
make -j $(nproc --all)
sudo make install
#### Build gta5view for Fedora
sudo dnf install git gcc gcc-c++ qt5-qtbase-devel qt5-qttranslations make
git clone https://gitlab.com/Syping/gta5view && cd gta5view
mkdir -p build && cd build
../configure --prefix=/opt/gta5view
make -j $(nproc --all)
sudo make install
#### Build gta5view for Windows (Beginner) #### Build gta5view for Windows (Beginner)
Download the [Qt Framework](https://www.qt.io/) and install the MinGW version. Download the [Qt Framework](https://www.qt.io/) and install the MinGW version.