version config file

This commit is contained in:
dreamsourcelabTAI 2022-12-12 11:11:49 +08:00
parent 549d5349d4
commit 7a2c8fd7bc
3 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ set(DS_DESCRIPTION "A GUI for instruments of DreamSourceLab")
set(DS_VERSION_MAJOR 1)
set(DS_VERSION_MINOR 2)
set(DS_VERSION_MICRO 1)
set(DS_VERSION_MICRO 2)
set(DS_VERSION_STRING ${DS_VERSION_MAJOR}.${DS_VERSION_MINOR}.${DS_VERSION_MICRO} )
configure_file (

View File

@ -29,7 +29,7 @@
/* DSView version information */
#define DS_VERSION_MAJOR 1
#define DS_VERSION_MINOR 2
#define DS_VERSION_MICRO 1
#define DS_VERSION_STRING "1.2.1"
#define DS_VERSION_MICRO 2
#define DS_VERSION_STRING "1.2.2"
#endif

View File

@ -47,7 +47,7 @@ namespace path{
std::string str;
#ifdef _WIN32
QTextCodec *codec = QTextCodec::codecForName("System");
QTextCodec *codec = QTextCodec::codecForLocale();
QByteArray str_tmp = codec->fromUnicode(path);
str = str_tmp.data();
#else