From 4c98086262985256b9d6b52501ed287e292d7994 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 14 Jun 2021 17:38:32 +0200 Subject: [PATCH 1/2] smal add on windows --- src/S_New4.pro | 14 +++++--------- src/parameterManager.cpp | 3 +++ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/S_New4.pro b/src/S_New4.pro index 757f4f9..2e7f2a5 100644 --- a/src/S_New4.pro +++ b/src/S_New4.pro @@ -1,22 +1,18 @@ QT -= gui - - - #INCLUDEPATH += -L$${_PRO_FILE_PWD_}\openssl-android-arm64-v8a\include -LIBS += -L$${_PRO_FILE_PWD_}\lib -lssl -LIBS += -L$${_PRO_FILE_PWD_}\lib -lcrypto -LIBS += -L$${_PRO_FILE_PWD_}\lib -lcurl - +#LIBS += -L$${_PRO_FILE_PWD_}\lib -lssl +#LIBS += -L$${_PRO_FILE_PWD_}\lib -lcrypto +#LIBS += -L$${_PRO_FILE_PWD_}\lib -lcurl #Linux: -#unix: LIBS += -lcurl +unix: LIBS += -lcurl #Windows -#win32: LIBS += -L$${_PRO_FILE_PWD_}\curl -lcurl +win32: LIBS += -L$${_PRO_FILE_PWD_}\curl -lcurl CONFIG += c++14 console diff --git a/src/parameterManager.cpp b/src/parameterManager.cpp index 725d465..e4bafad 100644 --- a/src/parameterManager.cpp +++ b/src/parameterManager.cpp @@ -150,6 +150,9 @@ void unterOption_printVersion(Settings &settings) std::cout << "Programinfos:" << std::endl << " > Program Version: " << settings.version << std::endl << " > Defaults Datei Version: " << settings.defaultFileVersion << std::endl + #ifdef __MINGW_GCC_VERSION + << " > MINGW GCC Version: " <<__GNUC__ << "." << __GNUC_MINOR__ << "." << __GNUC_PATCHLEVEL__ << std::endl + #endif << " > C++ Standart: "; if(__cplusplus == 1) std::cout << "C++_Pre_C++98" << std::endl; else if (__cplusplus == 199711) std::cout << "C++98" << std::endl; From 871017a27fb4b75b4afcbd0bd3aa25198a43fe15 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 14 Jun 2021 17:43:56 +0200 Subject: [PATCH 2/2] v4.0.5: add some infos to --version --- src/parameterManager.cpp | 3 +++ src/parameterManager.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/parameterManager.cpp b/src/parameterManager.cpp index e4bafad..cf7b2f8 100644 --- a/src/parameterManager.cpp +++ b/src/parameterManager.cpp @@ -148,11 +148,14 @@ int manageParameter(Settings &settings, int argc, char **argv) void unterOption_printVersion(Settings &settings) { std::cout << "Programinfos:" << std::endl + << " > Build-Datum: " << __DATE__ << std::endl + << " > Build-Uhrzeit: " << __TIME__ << std::endl << " > Program Version: " << settings.version << std::endl << " > Defaults Datei Version: " << settings.defaultFileVersion << std::endl #ifdef __MINGW_GCC_VERSION << " > MINGW GCC Version: " <<__GNUC__ << "." << __GNUC_MINOR__ << "." << __GNUC_PATCHLEVEL__ << std::endl #endif + << " > C++ Standart: "; if(__cplusplus == 1) std::cout << "C++_Pre_C++98" << std::endl; else if (__cplusplus == 199711) std::cout << "C++98" << std::endl; diff --git a/src/parameterManager.h b/src/parameterManager.h index e31a278..c550324 100644 --- a/src/parameterManager.h +++ b/src/parameterManager.h @@ -26,7 +26,7 @@ #define UpdaterCloudUrlWithPath "https://cloud.obermui.de/s/tXz7SWdaPJ7TacZ/download?path=%2F&files=" #define SecondUpdaterCloudUrlWithPath "https://snew4.obermui.de/download?path=%2F&files=" -#define VERSION "5.0.4" +#define VERSION "5.0.5" #define DEFAULT_FILE_VERSION "2.1" //default, anime, normal,