aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2024-05-02 12:52:06 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2024-05-02 16:42:43 +0200
commit86cd3c9fc01744f4b20b66db4ea856c78accf77b (patch)
tree2fb94f2e6a08f179c0d78eb631fdaf7c2ffa0fa5 /src/qml
parente8060eac72e9c37cba5720e934dc1d4d6ed9b81a (diff)
Force setting the QT_INTERNAL_DECLARATIVE_PYTHON variable
The variable should be up-to-date with Python_EXECUTABLE that is found recently. Otherwise python updates break the build. Pick-to: 6.5 6.6 6.7 Change-Id: I66418e5f2fac3d397e3b48447d89c7b81f106c91 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/qml')
-rw-r--r--src/qml/configure.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/configure.cmake b/src/qml/configure.cmake
index d1ff90bd54..1bc647ff29 100644
--- a/src/qml/configure.cmake
+++ b/src/qml/configure.cmake
@@ -14,7 +14,7 @@ qt_find_package(LTTngUST PROVIDED_TARGETS LTTng::UST MODULE_NAME qml QMAKE_LIB l
qt_find_package(Python REQUIRED)
if(Python_Interpreter_FOUND)
# Need to make it globally available to the project
- set(QT_INTERNAL_DECLARATIVE_PYTHON "${Python_EXECUTABLE}" CACHE STRING "")
+ set(QT_INTERNAL_DECLARATIVE_PYTHON "${Python_EXECUTABLE}" CACHE STRING "" FORCE)
endif()
#### Tests