Initial commit: add Qt environment monitoring client

This commit is contained in:
yzfh
2026-10-19 16:03:19 +08:00
commit a0dac24c97
8 changed files with 1949 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
// 添加GLIBC兼容性支持
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
// 限制GLIBC版本兼容性到2.31
#if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
# if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 31)
# define GLIBC_MAX_VERSION "2.31"
# endif
#endif
#include <QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}