added version name

This commit is contained in:
Andrei Yankovich 2020-03-22 11:52:08 +03:00
parent d38106e0c4
commit 2526fe3ca8
3 changed files with 8 additions and 2 deletions

View File

@ -326,6 +326,10 @@ QString DeployCore::getAppVersion() {
return APP_VERSION;
}
QString DeployCore::getAppVersionName() {
return "\"Binary Box\"";
}
QString DeployCore::getQtVersion() {
#ifdef QT_VERSION_STR
return QT_VERSION_STR;
@ -335,7 +339,7 @@ QString DeployCore::getQtVersion() {
}
void DeployCore::printVersion() {
qInfo() << "CQtDeployer: " + getAppVersion();
qInfo() << "CQtDeployer: " + getAppVersion() + " " + getAppVersionName();
qInfo() << "Qt: " + getQtVersion();
}

View File

@ -166,6 +166,8 @@ public:
static QStringList extractTranslation(const QSet<QString> &libs);
static QString getAppVersion();
static QString getAppVersionName();
static QString getQtVersion();
static void printVersion();
static int find(const QString &str, const QStringList &list);

@ -1 +1 @@
Subproject commit 83a76325218b29b9ede74baf322b0aa87bffab74
Subproject commit a03b0d9b7607b7b5a4fdf0d2af3dc90a704dfccc