Browse Source

fix warning & readme update

Syping 4 months ago
parent
commit
feabaac48e
2 changed files with 7 additions and 0 deletions
  1. 4
    0
      AppEnv.cpp
  2. 3
    0
      README.md

+ 4
- 0
AppEnv.cpp View File

@@ -462,6 +462,8 @@ bool AppEnv::setGameLanguage(GameVersion gameVersion, GameLanguage gameLanguage)
462 462
         {
463 463
             return false;
464 464
         }
465
+#else
466
+        Q_UNUSED(gameLanguage)
465 467
 #endif
466 468
     }
467 469
     if (steamVersion)
@@ -485,6 +487,8 @@ bool AppEnv::setGameLanguage(GameVersion gameVersion, GameLanguage gameLanguage)
485 487
         {
486 488
             return false;
487 489
         }
490
+#else
491
+        Q_UNUSED(gameLanguage)
488 492
 #endif
489 493
     }
490 494
     return true;

+ 3
- 0
README.md View File

@@ -19,6 +19,7 @@ Grand Theft Auto V Savegame and Snapmatic viewer/editor
19 19
     docker run --rm -v ${PWD}:/gta5view -it syping/qt5-static-mingw
20 20
     cd /gta5view && mkdir -p build && cd build
21 21
     qmake-static ../gta5view.pro
22
+    make depend
22 23
     make -j $(nproc --all)
23 24
 
24 25
 #### Build gta5view for Debian/Ubuntu
@@ -27,6 +28,7 @@ Grand Theft Auto V Savegame and Snapmatic viewer/editor
27 28
     git clone https://gitlab.com/Syping/gta5view && cd gta5view
28 29
     mkdir -p build && cd build
29 30
     ../configure --prefix=/opt/gta5view
31
+    make depend
30 32
     make -j $(nproc --all)
31 33
     sudo make install
32 34
 
@@ -36,6 +38,7 @@ Grand Theft Auto V Savegame and Snapmatic viewer/editor
36 38
     git clone https://gitlab.com/Syping/gta5view && cd gta5view
37 39
     mkdir -p build && cd build
38 40
     ../configure --prefix=/opt/gta5view
41
+    make depend
39 42
     make -j $(nproc --all)
40 43
     sudo make install
41 44