add: print version

This commit is contained in:
dreamsourcelabTAI 2022-02-21 18:33:02 +08:00
parent 8ada4d7373
commit f8191599f5
3 changed files with 4 additions and 2 deletions

View File

@ -119,7 +119,7 @@ set(DS_VERSION_MAJOR 1)
set(DS_VERSION_MINOR 2)
set(DS_VERSION_MICRO 0)
set(DS_VERSION_STRING
${DS_VERSION_MAJOR}.${DS_VERSION_MINOR}.${DS_VERSION_MICRO}-RC4
${DS_VERSION_MAJOR}.${DS_VERSION_MINOR}.${DS_VERSION_MICRO}-RC5
)
configure_file (

View File

@ -29,6 +29,6 @@
#define DS_VERSION_MAJOR 1
#define DS_VERSION_MINOR 2
#define DS_VERSION_MICRO 0
#define DS_VERSION_STRING "1.2.0-RC4"
#define DS_VERSION_STRING "1.2.0-RC5"
#endif

View File

@ -111,6 +111,8 @@ int main(int argc, char *argv[])
QApplication::setOrganizationName("DreamSourceLab");
QApplication::setOrganizationDomain("www.DreamSourceLab.com");
printf("\n-----------------version: %s-----------------\n\n", DS_VERSION_STRING);
#ifdef Q_OS_LINUX
// Use low version qt plugins, for able to debug
QDir qtdir;