mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-27 18:24:33 +00:00
added version name
This commit is contained in:
parent
d38106e0c4
commit
2526fe3ca8
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
2
doc/wiki
2
doc/wiki
@ -1 +1 @@
|
||||
Subproject commit 83a76325218b29b9ede74baf322b0aa87bffab74
|
||||
Subproject commit a03b0d9b7607b7b5a4fdf0d2af3dc90a704dfccc
|
Loading…
x
Reference in New Issue
Block a user