2024-05-05 22:55:58 +08:00
|
|
|
#include "FTPTrans.h"
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
|
|
|
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
|
|
|
#endif
|
|
|
|
QApplication a(argc, argv);
|
2024-05-09 14:03:54 +08:00
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
QFont font("Microsoft YaHei", 10);
|
|
|
|
a.setFont(font);
|
|
|
|
a.setStyle("windows xp");
|
|
|
|
#endif
|
|
|
|
|
2024-05-05 22:55:58 +08:00
|
|
|
FTPTrans w;
|
|
|
|
w.show();
|
|
|
|
return a.exec();
|
|
|
|
}
|