From a8cc794039d7735315cbe3d7ebc552d6ef58da74 Mon Sep 17 00:00:00 2001 From: "Re*Index. (ot_inc)" <32851879+reindex-ot@users.noreply.github.com> Date: Wed, 23 Jul 2025 16:36:01 +0900 Subject: [PATCH] Update CMakeLists.txt --- QtScrcpy/res/i18n/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/QtScrcpy/res/i18n/CMakeLists.txt b/QtScrcpy/res/i18n/CMakeLists.txt index bf3dad8..cc60a45 100644 --- a/QtScrcpy/res/i18n/CMakeLists.txt +++ b/QtScrcpy/res/i18n/CMakeLists.txt @@ -2,6 +2,7 @@ set(QC_TS_FILES ${CMAKE_CURRENT_SOURCE_DIR}/zh_CN.ts ${CMAKE_CURRENT_SOURCE_DIR}/en_US.ts + ${CMAKE_CURRENT_SOURCE_DIR}/ja_JP.ts ) # 设置qm文件生成目录 set_source_files_properties(${QC_TS_FILES} PROPERTIES OUTPUT_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}") @@ -48,4 +49,4 @@ qt5_create_translation在cmake clean的时候会删除翻译好的ts文件,导 2. https://doc.qt.io/qt-5/qtlinguist-cmake-qt5-add-translation.html 3. https://doc.qt.io/qt-5/qtlinguist-cmake-qt5-create-translation.html 4. execute_process 参考:https://blog.csdn.net/u010255072/article/details/120326833 -5. add_custom_target 参考:https://www.cnblogs.com/apocelipes/p/14355460.html \ No newline at end of file +5. add_custom_target 参考:https://www.cnblogs.com/apocelipes/p/14355460.html