mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
add: print version
This commit is contained in:
parent
8ada4d7373
commit
f8191599f5
@ -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 (
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user