Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.0
-
None
-
-
672a1d022 (dev), 07fd20a0e (6.5), 9a5de496f (dev), 3998c8544 (6.5), fd91d1a66 (6.6), 8dce6344c (dev), 6c8e7fa4e (6.6)
Description
In Homebrew (an open source distribution for macOS users) we have to build Qt in a path that contains symlinks (because Apple and cmake currently make it really hard to do anything else). This bug is a follow-up to https://bugreports.qt.io/browse/QTBUG-113295
This generally builds fine, but we sometime find out issues because it is not a generally tested configuration: but the Qt project is really nice and fixes the issues we report, when we report them Thank you!
One of the issues we have in the past, and for which we are carrying a patch, but which we forgot to report to you, is in qtwebengine. It is currently broken in a build with symlinked path, and it started with Qt 6.2.0 (it was working before). We actually have a fix for that:
On the cmake side, in each of these files:
qtwebengine/cmake/Gn.cmake qtwebengine/cmake/Functions.cmake qtwebengine/src/core/api/CMakeLists.txt qtwebengine/src/CMakeLists.txt qtwebengine/src/gn/CMakeLists.txt qtwebengine/src/process/CMakeLists.txt
we replace REALPATH with ABSOLUTE.
Then in:
qtwebengine/src/3rdparty/gn/src/base/files/file_util_posix.cc
we replace
FilePath(full_path)
with
FilePath(input)
I hope the patches are general enough (or can be made general enough) that it can be fixed into the main Qt repo!
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-113463 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
476703,7 | Implement qt_internal_get_file_path_mode for changing the file path mode | dev | qt/qtbase | Status: MERGED | +2 | 0 |
476704,11 | Use ABSOLUTE path if QT_ALLOW_SYMLINK_IN_PATHS is enabled | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
480945,2 | Implement qt_internal_get_file_path_mode for changing the file path mode | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
483368,2 | Move QT_ALLOW_SYMLINK_IN_PATHS warning to config.summary | dev | qt/qtbase | Status: MERGED | +2 | 0 |
483481,2 | Move QT_ALLOW_SYMLINK_IN_PATHS warning to config.summary | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
483482,2 | Move QT_ALLOW_SYMLINK_IN_PATHS warning to config.summary | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
504908,2 | Use ABSOLUTE path if QT_ALLOW_SYMLINK_IN_PATHS is enabled | 6.6 | qt/qtwebengine | Status: MERGED | +2 | 0 |
505046,2 | Use ABSOLUTE path if QT_ALLOW_SYMLINK_IN_PATHS is enabled | 6.5 | qt/qtwebengine | Status: ABANDONED | 0 | 0 |