File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ --- a/cmake/modules/QtConfig.cmake
2
+ +++ b/cmake/modules/QtConfig.cmake
3
+ @@ -495,6 +495,9 @@ if (ENABLE_QT_TRANSLATIONS AND TS_FILES)
4
+ set(APP_SPECIFIC_QT_TRANSLATIONS_AVAILABLE YES)
5
+
6
+ # require the LinguistTools module (not adding it to QT_MODULES because we don't link against it)
7
+ + if ("${QT_PACKAGE_PREFIX}" STREQUAL "Qt6")
8
+ + find_package(Qt6 OPTIONAL_COMPONENTS Linguist CONFIG)
9
+ + endif()
10
+ find_package("${QT_LINGUIST_TOOLS_PACKAGE}")
11
+ if (NOT "${${QT_LINGUIST_TOOLS_PACKAGE}_FOUND}" AND QT_HOST_PATH)
12
+ # find the module within the host path when set (required for cross compilation with Qt 6 as the module is absent in
Original file line number Diff line number Diff line change 1
1
# Template file for 'qtutilities'
2
2
pkgname=qtutilities
3
3
version=6.18.0
4
- revision=1
4
+ revision=2
5
5
build_style=cmake
6
6
configure_args=" -DBUILD_SHARED_LIBS=ON -DQT_PACKAGE_PREFIX=Qt6"
7
7
hostmakedepends=" qt6-base qt6-tools"
You can’t perform that action at this time.
0 commit comments