fix warning & readme update

This commit is contained in:
Syping 2018-08-05 15:29:30 +02:00
parent 6ab75420ec
commit feabaac48e
2 changed files with 7 additions and 0 deletions

View file

@ -462,6 +462,8 @@ bool AppEnv::setGameLanguage(GameVersion gameVersion, GameLanguage gameLanguage)
{ {
return false; return false;
} }
#else
Q_UNUSED(gameLanguage)
#endif #endif
} }
if (steamVersion) if (steamVersion)
@ -485,6 +487,8 @@ bool AppEnv::setGameLanguage(GameVersion gameVersion, GameLanguage gameLanguage)
{ {
return false; return false;
} }
#else
Q_UNUSED(gameLanguage)
#endif #endif
} }
return true; return true;

View file

@ -19,6 +19,7 @@ Grand Theft Auto V Savegame and Snapmatic viewer/editor
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 depend
make -j $(nproc --all) make -j $(nproc --all)
#### Build gta5view for Debian/Ubuntu #### Build gta5view for Debian/Ubuntu
@ -27,6 +28,7 @@ Grand Theft Auto V Savegame and Snapmatic viewer/editor
git clone https://gitlab.com/Syping/gta5view && cd gta5view git clone https://gitlab.com/Syping/gta5view && cd gta5view
mkdir -p build && cd build mkdir -p build && cd build
../configure --prefix=/opt/gta5view ../configure --prefix=/opt/gta5view
make depend
make -j $(nproc --all) make -j $(nproc --all)
sudo make install sudo make install
@ -36,6 +38,7 @@ Grand Theft Auto V Savegame and Snapmatic viewer/editor
git clone https://gitlab.com/Syping/gta5view && cd gta5view git clone https://gitlab.com/Syping/gta5view && cd gta5view
mkdir -p build && cd build mkdir -p build && cd build
../configure --prefix=/opt/gta5view ../configure --prefix=/opt/gta5view
make depend
make -j $(nproc --all) make -j $(nproc --all)
sudo make install sudo make install