qt6-base/debian/patches/cross.patch

27 lines
1011 B
Diff
Raw Normal View History

2023-05-22 10:42:08 -03:00
---
2023-11-02 22:30:10 -03:00
examples/sql/CMakeLists.txt | 2 +-
2023-05-22 10:42:08 -03:00
src/tools/configure.cmake | 2 +-
2023-11-02 22:30:10 -03:00
3 files changed, 2 insertions(+), 4 deletions(-)
2023-01-21 14:28:35 +01:00
--- a/src/tools/configure.cmake
+++ b/src/tools/configure.cmake
2023-10-10 18:12:54 +02:00
@@ -5,7 +5,7 @@ qt_feature("androiddeployqt" PRIVATE
2023-01-21 14:28:35 +01:00
SECTION "Deployment"
LABEL "Android deployment tool"
PURPOSE "The Android deployment tool automates the process of creating Android packages."
2023-10-10 18:12:54 +02:00
- CONDITION NOT CMAKE_CROSSCOMPILING AND QT_FEATURE_regularexpression AND QT_FEATURE_settings)
+ CONDITION (QT_FORCE_BUILD_TOOLS OR NOT CMAKE_CROSSCOMPILING) AND QT_FEATURE_regularexpression)
2023-11-02 22:30:10 -03:00
2023-01-21 14:28:35 +01:00
qt_feature("macdeployqt" PRIVATE
SECTION "Deployment"
--- a/examples/sql/CMakeLists.txt
+++ b/examples/sql/CMakeLists.txt
2023-11-02 22:30:10 -03:00
@@ -15,6 +15,6 @@ if(TARGET Qt6::Xml)
qt_internal_add_example(masterdetail)
endif()
-if(NOT CMAKE_CROSSCOMPILING)
+if(QT_FORCE_BUILD_TOOLS OR NOT CMAKE_CROSSCOMPILING)
qt_internal_add_example(sqlbrowser)
endif()