diff --git a/S_New4.pro b/S_New4.pro new file mode 100644 index 0000000..e9f7c5a --- /dev/null +++ b/S_New4.pro @@ -0,0 +1,50 @@ +QT -= gui core +#CONFIG += -libstdc++ -static-libgcc #-static + + +#QT += core gui +#greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +#QT += webenginewidgets + +#Linux: +unix: LIBS += -lcurl + +#Windows +win32: LIBS += -L$${_PRO_FILE_PWD_}/lib/ -lcurl # 8.2.1 +#win32: LIBS += -L$${_PRO_FILE_PWD_}\alt\ -lcurl # 7.64.1 + + +CONFIG += c++17 console +CONFIG -= app_bundle + +# The following define makes your compiler emit warnings if you use +# any Qt feature that has been marked deprecated (the exact warnings +# depend on your compiler). Please consult the documentation of the +# deprecated API in order to know how to port your code away from it. +DEFINES += QT_DEPRECATED_WARNINGS + +# You can also make your code fail to compile if it uses deprecated APIs. +# In order to do so, uncomment the following line. +# You can also select to disable deprecated APIs only up to a certain version of Qt. +#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 + +SOURCES += \ + src/main.cpp \ + src/pageManager.cpp \ + src/parameterManager.cpp \ + src/programManager.cpp \ + src/accountManager.cpp \ + src/logger.cpp + +# Default rules for deployment. +qnx: target.path = /tmp/$${TARGET}/bin +else: unix:!android: target.path = /opt/$${TARGET}/bin +!isEmpty(target.path): INSTALLS += target + +HEADERS += \ + src/pageManager.h \ + src/parameterManager.h \ + src/programManager.h \ + src/accountManager.h \ + src/logger.h diff --git a/release/S_New4.exe b/release/S_New4.exe new file mode 100644 index 0000000..438e72d Binary files /dev/null and b/release/S_New4.exe differ diff --git a/release/libcurl-x64.def b/release/libcurl-x64.def new file mode 100644 index 0000000..5aea1cb --- /dev/null +++ b/release/libcurl-x64.def @@ -0,0 +1,92 @@ +EXPORTS + curl_easy_cleanup @1 + curl_easy_duphandle @2 + curl_easy_escape @3 + curl_easy_getinfo @4 + curl_easy_header @5 + curl_easy_init @6 + curl_easy_nextheader @7 + curl_easy_option_by_id @8 + curl_easy_option_by_name @9 + curl_easy_option_next @10 + curl_easy_pause @11 + curl_easy_perform @12 + curl_easy_recv @13 + curl_easy_reset @14 + curl_easy_send @15 + curl_easy_setopt @16 + curl_easy_strerror @17 + curl_easy_unescape @18 + curl_easy_upkeep @19 + curl_escape @20 + curl_formadd @21 + curl_formfree @22 + curl_formget @23 + curl_free @24 + curl_getdate @25 + curl_getenv @26 + curl_global_cleanup @27 + curl_global_init @28 + curl_global_init_mem @29 + curl_global_sslset @30 + curl_maprintf @31 + curl_mfprintf @32 + curl_mime_addpart @33 + curl_mime_data @34 + curl_mime_data_cb @35 + curl_mime_encoder @36 + curl_mime_filedata @37 + curl_mime_filename @38 + curl_mime_free @39 + curl_mime_headers @40 + curl_mime_init @41 + curl_mime_name @42 + curl_mime_subparts @43 + curl_mime_type @44 + curl_mprintf @45 + curl_msnprintf @46 + curl_msprintf @47 + curl_multi_add_handle @48 + curl_multi_assign @49 + curl_multi_cleanup @50 + curl_multi_fdset @51 + curl_multi_info_read @52 + curl_multi_init @53 + curl_multi_perform @54 + curl_multi_poll @55 + curl_multi_remove_handle @56 + curl_multi_setopt @57 + curl_multi_socket @58 + curl_multi_socket_action @59 + curl_multi_socket_all @60 + curl_multi_strerror @61 + curl_multi_timeout @62 + curl_multi_wait @63 + curl_multi_wakeup @64 + curl_mvaprintf @65 + curl_mvfprintf @66 + curl_mvprintf @67 + curl_mvsnprintf @68 + curl_mvsprintf @69 + curl_pushheader_byname @70 + curl_pushheader_bynum @71 + curl_share_cleanup @72 + curl_share_init @73 + curl_share_setopt @74 + curl_share_strerror @75 + curl_slist_append @76 + curl_slist_free_all @77 + curl_strequal @78 + curl_strnequal @79 + curl_unescape @80 + curl_url @81 + curl_url_cleanup @82 + curl_url_dup @83 + curl_url_get @84 + curl_url_set @85 + curl_url_strerror @86 + curl_version @87 + curl_version_info @88 + curl_ws_meta @89 + curl_ws_recv @90 + curl_ws_send @91 diff --git a/release/libcurl-x64.dll b/release/libcurl-x64.dll new file mode 100644 index 0000000..a8adee5 Binary files /dev/null and b/release/libcurl-x64.dll differ diff --git a/release/libgcc_s_seh-1.dll b/release/libgcc_s_seh-1.dll new file mode 100644 index 0000000..a71d451 Binary files /dev/null and b/release/libgcc_s_seh-1.dll differ diff --git a/release/libstdc++-6.dll b/release/libstdc++-6.dll new file mode 100644 index 0000000..fc265bb Binary files /dev/null and b/release/libstdc++-6.dll differ diff --git a/release/libwinpthread-1.dll b/release/libwinpthread-1.dll new file mode 100644 index 0000000..fc376f3 Binary files /dev/null and b/release/libwinpthread-1.dll differ diff --git a/src/.parameterManager.h.~6ae9c21 b/src/.parameterManager.h.~6ae9c21 deleted file mode 100644 index e69de29..0000000 diff --git a/src/.qmake.stash b/src/.qmake.stash deleted file mode 100644 index 6f58073..0000000 --- a/src/.qmake.stash +++ /dev/null @@ -1,19 +0,0 @@ -QMAKE_CXX.QT_COMPILER_STDCXX = 199711L -QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 5 -QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 5 -QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 -QMAKE_CXX.COMPILER_MACROS = \ - QT_COMPILER_STDCXX \ - QMAKE_GCC_MAJOR_VERSION \ - QMAKE_GCC_MINOR_VERSION \ - QMAKE_GCC_PATCH_VERSION -QMAKE_CXX.INCDIRS = \ - /home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0/include/c++ \ - /home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0/include/c++/x86_64-w64-mingw32.static \ - /home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0/include/c++/backward \ - /home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0/include \ - /home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0/include-fixed \ - /home/markus/git/mxe/usr/x86_64-w64-mingw32.static/include -QMAKE_CXX.LIBDIRS = \ - /home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0 \ - /home/markus/git/mxe/usr/x86_64-w64-mingw32.static/lib diff --git a/src/pageManager.cpp b/src/pageManager.cpp index d5d9ebd..ad60c34 100644 --- a/src/pageManager.cpp +++ b/src/pageManager.cpp @@ -230,7 +230,9 @@ Reply PageManager::getServerRequest(std::string protocol, std::string Url, bool curl_easy_cleanup(curl); - if(returnUrl.find("/_ray/pow") != std::string::npos || readBuffer.find("