diff options
Diffstat (limited to 'src/qml/Qt6QmlDeploySupport.cmake')
-rw-r--r-- | src/qml/Qt6QmlDeploySupport.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/Qt6QmlDeploySupport.cmake b/src/qml/Qt6QmlDeploySupport.cmake index 58ca93b5fa..dc16261170 100644 --- a/src/qml/Qt6QmlDeploySupport.cmake +++ b/src/qml/Qt6QmlDeploySupport.cmake @@ -50,7 +50,9 @@ function(qt_deploy_qml_imports) message(FATAL_ERROR "No QML imports information recorded for target ${arg_TARGET}. " "The target must be an executable and qt_add_qml_module() must " - "have been called with it. Missing file:\n ${filename}" + "have been called with it. If using a CMake version lower than 3.19, ensure " + "that the executable is manually finalized with qt_finalize_target(). " + "Missing file:\n ${filename}" ) endif() include(${filename}) |