mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-09-28 20:29:12 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
286268360a
commit
a8cc794039
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
5. add_custom_target 参考:https://www.cnblogs.com/apocelipes/p/14355460.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue