diff --git a/jceGrade.pro b/jceGrade.pro
index b90471c..33e64bc 100644
--- a/jceGrade.pro
+++ b/jceGrade.pro
@@ -9,10 +9,17 @@ QT += core gui network widgets
CONFIG += qt c++11
TARGET = jceManager
-TEMPLATE = app
VERSION = 1.0.0
+TEMPLATE = app
+DEFINES += APP_VERSION=\\\"$$VERSION\\\"
+
+win32 {
+RC_FILE += winConf.rc
+}
+unix {
+RC_FILE += appConfigure.rc
+}
-RC_FILE = appConfigure.rc
TRANSLATIONS = jce_en.ts \
jce_he.ts
diff --git a/main/main.cpp b/main/main.cpp
index ef2dd6d..3f2c86b 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -5,7 +5,6 @@
#include "../src/appDatabase/savedata.h"
#include "../src/appDatabase/jce_logger.h"
-
int main(int argc, char *argv[])
{
#ifdef QT_DEBUG // Incase QtCreator is in Debug mode all qDebug messages will go to terminal
@@ -36,6 +35,7 @@ int main(int argc, char *argv[])
qDebug() << "Local : English Local Loaded";
}
a.installTranslator(&translator); //Setting local
+ a.setApplicationVersion(APP_VERSION);
MainScreen w;
w.show();
diff --git a/main/mainscreen.ui b/main/mainscreen.ui
index fc522ca..b80a4fd 100644
--- a/main/mainscreen.ui
+++ b/main/mainscreen.ui
@@ -29,6 +29,9 @@
background: qlineargradient(spread:pad, x1:0.496, y1:0, x2:0.508, y2:1, stop:0 rgba(195, 231, 224, 218), stop:1 rgba(255, 255, 255, 255));
}
+
+
+
48
@@ -641,7 +644,7 @@ font-size: 15px;
0
0
855
- 22
+ 21