重新改进支持Qt4.6-Qt6.1
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
QT += core gui network
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
|
||||
|
||||
TARGET = comtool
|
||||
TEMPLATE = app
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
#include <QtWidgets>
|
||||
#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"
|
||||
|
||||
Reference in New Issue
Block a user