From 1b0cdd61527b083481ad126af522d8143707b466 Mon Sep 17 00:00:00 2001 From: zhuzichu Date: Thu, 20 Apr 2023 23:37:51 +0800 Subject: [PATCH] update --- example/AppInfo.cpp | 2 +- example/CMakeLists.txt | 11 +++++++++-- example/lang/Lang.h | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) 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 {