fixing version before publishing
This commit is contained in:
parent
26cbfbd576
commit
d25ed108f7
4 changed files with 45 additions and 4 deletions
11
jceGrade.pro
11
jceGrade.pro
|
@ -9,10 +9,17 @@ QT += core gui network widgets
|
||||||
CONFIG += qt c++11
|
CONFIG += qt c++11
|
||||||
|
|
||||||
TARGET = jceManager
|
TARGET = jceManager
|
||||||
TEMPLATE = app
|
|
||||||
VERSION = 1.0.0
|
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 \
|
TRANSLATIONS = jce_en.ts \
|
||||||
jce_he.ts
|
jce_he.ts
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#include "../src/appDatabase/savedata.h"
|
#include "../src/appDatabase/savedata.h"
|
||||||
#include "../src/appDatabase/jce_logger.h"
|
#include "../src/appDatabase/jce_logger.h"
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
#ifdef QT_DEBUG // Incase QtCreator is in Debug mode all qDebug messages will go to terminal
|
#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";
|
qDebug() << "Local : English Local Loaded";
|
||||||
}
|
}
|
||||||
a.installTranslator(&translator); //Setting local
|
a.installTranslator(&translator); //Setting local
|
||||||
|
a.setApplicationVersion(APP_VERSION);
|
||||||
MainScreen w;
|
MainScreen w;
|
||||||
w.show();
|
w.show();
|
||||||
|
|
||||||
|
|
|
@ -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));
|
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));
|
||||||
}</string>
|
}</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="locale">
|
||||||
|
<locale language="English" country="UnitedStates"/>
|
||||||
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
<size>
|
<size>
|
||||||
<width>48</width>
|
<width>48</width>
|
||||||
|
@ -641,7 +644,7 @@ font-size: 15px;
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>855</width>
|
<width>855</width>
|
||||||
<height>22</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuA_about">
|
<widget class="QMenu" name="menuA_about">
|
||||||
|
|
31
winConf.rc
Normal file
31
winConf.rc
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
IDI_ICON1 ICON DISCARDABLE "./resources/icon.ico"
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION 1, 0, 0
|
||||||
|
PRODUCTVERSION 1, 0, 0
|
||||||
|
FILEFLAGSMASK 0x3fL
|
||||||
|
FILEFLAGS 0
|
||||||
|
FILEOS VOS_NT_WINDOWS32
|
||||||
|
FILETYPE VFT_APP
|
||||||
|
FILESUBTYPE VFT2_UNKNOWN
|
||||||
|
BEGIN
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", "Jce Manager\0"
|
||||||
|
VALUE "FileDescription", "\0"
|
||||||
|
VALUE "FileVersion", "1.0.0\0"
|
||||||
|
VALUE "InternalName", "jceManager\0"
|
||||||
|
VALUE "LegalCopyright", "Jce Manager Team, liranbg@gmail.com\0"
|
||||||
|
VALUE "OriginalFilename", "jceManager\0"
|
||||||
|
VALUE "ProductName", "Jce Manager\0"
|
||||||
|
VALUE "ProductVersion", "1.0.0\0"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
END
|
Loading…
Reference in a new issue