This commit is contained in:
zhuzichu 2023-04-20 23:37:51 +08:00
parent 1a9cca4300
commit 1b0cdd6152
3 changed files with 11 additions and 4 deletions

View File

@ -6,7 +6,7 @@
AppInfo::AppInfo(QObject *parent) AppInfo::AppInfo(QObject *parent)
: QObject{parent} : QObject{parent}
{ {
version("1.2.6"); version("1.2.7");
lang(new En()); lang(new En());
} }

View File

@ -25,13 +25,20 @@ find_package(Qt6 COMPONENTS Core Quick QuickControls2 Concurrent Network Multime
set(SOURCES set(SOURCES
ChatController.cpp ChatController.cpp
AppInfo.cpp AppInfo.cpp
main.cpp main.cpp
lang/Lang.cpp
lang/Zh.cpp
lang/En.cpp
) )
set(HEADERS set(HEADERS
ChatController.h ChatController.h
AppInfo.h AppInfo.h
stdafx.h
lang/Lang.h
lang/Zh.h
lang/En.h
) )
set(RESOURCES set(RESOURCES

View File

@ -2,7 +2,7 @@
#define LANG_H #define LANG_H
#include <QObject> #include <QObject>
#include "stdafx.h" #include "../stdafx.h"
class Lang : public QObject class Lang : public QObject
{ {