forked from Ivasoft/DSView
add: print version
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user