summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amir.abdol@qt.io>2023-06-08 14:46:44 +0200
committerAmir Masoud Abdol <amir.abdol@qt.io>2023-06-08 19:29:34 +0200
commit9a5de496f1ff37b345010dd70304b2408f273322 (patch)
tree1caa3c5735e488c6ee3574bd8f0d9b0cdd796b08 /configure.cmake
parent30cf6ed32f3e38c8623cbafbb25b4ce558d370f3 (diff)
Move QT_ALLOW_SYMLINK_IN_PATHS warning to config.summary
I think this needs to be more prominent, as I noticed during the testing that it could cause issues if it gets lost in between the config messages, as we knew of course. Pick-to: 6.5 6.6 Task-number: QTBUG-113463 Change-Id: I2ece498a8d3604362a49cc10499b92b0d2764fb9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index 7978bcc1e3..d334a9bbdd 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -1245,3 +1245,11 @@ qt_extra_definition("QT_VERSION_PATCH" ${PROJECT_VERSION_PATCH} PUBLIC)
qt_extra_definition("QT_COPYRIGHT" \"${QT_COPYRIGHT}\" PRIVATE)
qt_extra_definition("QT_COPYRIGHT_YEAR" \"${QT_COPYRIGHT_YEAR}\" PRIVATE)
+
+qt_configure_add_report_entry(
+ TYPE WARNING
+ MESSAGE "QT_ALLOW_SYMLINK_IN_PATHS is enabled. This is not recommended, and it may lead to unexpected issues.
+E.g., When building QtWebEngine, enabling this option may result in build issues in certain platforms.
+See https://bugreports.qt.io/browse/QTBUG-59769."
+ CONDITION QT_ALLOW_SYMLINK_IN_PATHS
+)