重新改进支持Qt4.6-Qt6.1

This commit is contained in:
feiyangqingyun
2021-05-30 15:45:43 +08:00
parent 71acdd7151
commit b2ca4d05da
286 changed files with 2571 additions and 1965 deletions

View File

@@ -9,6 +9,9 @@
#endif
#endif
#include "appconfig.h"
#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
#include <QtCore5Compat>
#endif
#pragma execution_character_set("utf-8")
#include "appconfig.h"

View File

@@ -14,6 +14,8 @@ QT += websockets
DEFINES += websocket
}}
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
TARGET = nettool
TEMPLATE = app
RC_FILE = other/main.rc