修复了项目无法正常打开的BUG

This commit is contained in:
2025-07-24 04:36:59 +08:00
parent 0430307f4b
commit a1785277f3
13 changed files with 17 additions and 44 deletions
+3
View File
@@ -10,6 +10,7 @@
***************************************************************/
namespace NS_QGobangServer
{
class CServerManager
{
@@ -24,4 +25,6 @@ private:
};
}
#endif // CSERVERMANAGER_H
Binary file not shown.
+5 -4
View File
@@ -12,9 +12,10 @@ SOURCES += \
CServerManager.cpp \
main.cpp
#引用QGobangTool库文件
INCLUDEPATH += ../QGobangTool/include
LIBS += -L$$OUT_PWD/../QGobangTool/lib -lQGobangTool
HEADERS += \
CServerManager.h
# 引用QGobangTool库文件
INCLUDEPATH += ../QGobangTool/include
LIBS += -L$$OUT_PWD/../QGobangTool/lib -lQGobangTool
-11
View File
@@ -4,16 +4,5 @@ int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
// Set up code that uses the Qt event loop here.
// Call a.quit() or a.exit() to quit the application.
// A not very useful example would be including
// #include <QTimer>
// near the top of the file and calling
// QTimer::singleShot(5000, &a, &QCoreApplication::quit);
// which quits the application after 5 seconds.
// If you do not need a running Qt event loop, remove the call
// to a.exec() or use the Non-Qt Plain C++ Application template.
return a.exec();
}