mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-02-02 13:52:55 +08:00
version config file
This commit is contained in:
parent
549d5349d4
commit
7a2c8fd7bc
@ -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 (
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user