diff --git a/example/AppInfo.cpp b/example/AppInfo.cpp index 7d423e01..5ac6cf4d 100644 --- a/example/AppInfo.cpp +++ b/example/AppInfo.cpp @@ -6,7 +6,7 @@ AppInfo::AppInfo(QObject *parent) : QObject{parent} { - version("1.2.6"); + version("1.2.7"); lang(new En()); } diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 9566cc33..461e98e4 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -25,13 +25,20 @@ find_package(Qt6 COMPONENTS Core Quick QuickControls2 Concurrent Network Multime set(SOURCES ChatController.cpp - AppInfo.cpp + AppInfo.cpp main.cpp + lang/Lang.cpp + lang/Zh.cpp + lang/En.cpp ) set(HEADERS ChatController.h - AppInfo.h + AppInfo.h + stdafx.h + lang/Lang.h + lang/Zh.h + lang/En.h ) set(RESOURCES diff --git a/example/lang/Lang.h b/example/lang/Lang.h index 074f53dc..37dab7cf 100644 --- a/example/lang/Lang.h +++ b/example/lang/Lang.h @@ -2,7 +2,7 @@ #define LANG_H #include -#include "stdafx.h" +#include "../stdafx.h" class Lang : public QObject {