Skip to content
Snippets Groups Projects
Commit 4bb0e3e3 authored by Karel Slaný's avatar Karel Slaný
Browse files

Merge branch 'cmakelist-translations' into 'develop'

Fixed CMakelist Translations

See merge request !377
parents 84f4e693 e5e311b0
Branches
1 merge request!377Fixed CMakelist Translations
......@@ -14,6 +14,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
find_package(QT NAMES Qt5 Qt6 REQUIRED COMPONENTS Core)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Gui Network PrintSupport Qml Quick QuickControls2 Sql Svg Widgets Xml)
find_package(Qt${QT_VERSION_MAJOR} OPTIONAL_COMPONENTS Core5Compat)
find_package(Qt6 REQUIRED COMPONENTS LinguistTools)
qt_standard_project_setup(REQUIRES 6.5)
......@@ -446,6 +447,16 @@ set(img_resource_files
"res/ui/upload.svg"
)
set(TS_FILES
res/locale/datovka_en.ts
res/locale/datovka_cs.ts
res/locale/datovka_uk.ts
)
set_source_files_properties(${TS_FILES}
PROPERTIES OUTPUT_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/res/locale"
)
qt6_add_translation(qmFiles ${TS_FILES})
qt_add_resources(mobile-datovka "img"
PREFIX
"/"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment