mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-11 18:59:59 +01:00
Support for loading language .qm files as Qt resource
This commit is contained in:
@@ -69,3 +69,7 @@ else()
|
||||
endif()
|
||||
message("QET_COMPONENTS :" ${QET_COMPONENTS})
|
||||
message("Qt version :" ${Qt${QT_VERSION_MAJOR}_VERSION})
|
||||
|
||||
if(QMFILES_AS_RESOURCE)
|
||||
add_definitions(-DQMFILES_AS_RESOURCE)
|
||||
endif()
|
||||
@@ -33,3 +33,6 @@ add_definitions(-DQT_MESSAGELOGCONTEXT)
|
||||
|
||||
# Build with KF6
|
||||
option(BUILD_WITH_KF6 "Build with KF6" ON)
|
||||
|
||||
# Use translations as a Qt resource
|
||||
option(QMFILES_AS_RESOURCE "Use .qm files as Qt resource" ON)
|
||||
|
||||
Reference in New Issue
Block a user