fixed the VERSION issue for Visual Studio

master
Qiaoyong Zhong 11 years ago
parent caf3ffd4f9
commit e7643e8548

@ -31,7 +31,6 @@ HEADERS += \
TRANSLATIONS = ts/2048-qt_zh_CN.ts ts/2048-qt_ru_RU.ts TRANSLATIONS = ts/2048-qt_zh_CN.ts ts/2048-qt_ru_RU.ts
VERSION = 0.1.4 VERSION = 0.1.5
VERSTR = '\\"$${VERSION}\\"' DEFINES += APP_VERSION=\\\"$${VERSION}\\\"
DEFINES += VER=\"$${VERSTR}\"

@ -1,5 +1,14 @@
# Changelog # Changelog
## 2014-05-29 0.1.5
* fixed the VERSION issue for Visual Studio
* do not translate the language names
* Merge branch 'SBasalaev-master'
* avoided trying to load English translation file
* added Russian translation
* Russian translation
* added the Debian package in README
## 2014-05-03 0.1.4 ## 2014-05-03 0.1.4
* updated the version number * updated the version number
* added man page and Changelog files * added man page and Changelog files

@ -51,6 +51,13 @@ And please vote it if you like it.
sudo apt-get install 2048-qt sudo apt-get install 2048-qt
``` ```
### Ubuntu
From Ubuntu 14.10 on, install it through:
```
sudo apt-get install 2048-qt
```
## Todo ## Todo
- Allow the user to add his own label systems - Allow the user to add his own label systems

@ -0,0 +1 @@
windeployqt.exe --release --qmldir qml/ --no-translations --compiler-runtime release/2048-qt.exe

@ -10,7 +10,7 @@ int main(int argc, char *argv[])
{ {
QApplication app(argc, argv); QApplication app(argc, argv);
Settings settings(0, "xiaoyong", "2048-Qt"); Settings settings(0, "xiaoyong", "2048-Qt");
settings.setVersion(QString(VER)); settings.setVersion(QString(APP_VERSION));
// Localization // Localization
QString locale; QString locale;

Loading…
Cancel
Save