2025-06-08 12:48:04 +08:00
|
|
|
#include "mainwindow.h"
|
|
|
|
|
|
|
|
|
|
#include <QApplication>
|
2025-06-22 14:08:15 +08:00
|
|
|
#include <QIcon>
|
2025-06-23 00:05:19 +08:00
|
|
|
#include <QSharedMemory>
|
|
|
|
|
#include <QSystemSemaphore>
|
|
|
|
|
#include <QMessageBox>
|
|
|
|
|
#include <QDebug>
|
2025-06-08 12:48:04 +08:00
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
|
{
|
|
|
|
|
QApplication a(argc, argv);
|
2025-06-22 14:08:15 +08:00
|
|
|
|
|
|
|
|
// 设置应用程序图标
|
|
|
|
|
a.setWindowIcon(QIcon(":/resource/logo.png"));
|
|
|
|
|
|
2025-06-08 12:48:04 +08:00
|
|
|
MainWindow w;
|
|
|
|
|
w.show();
|
|
|
|
|
return a.exec();
|
2025-06-23 00:05:19 +08:00
|
|
|
}
|