Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
6.2.0 FF
-
None
-
-
320c282488f4ae4cae735b0be027170803d06cd7 (qt/qtbase/dev) bf1791c562f35edeb081a12c5afc81772a36a0b0 (qt/tqtc-qtbase/6.1)
Description
Build latest qtbase ( dev branch ) on Windows, and then install it, I notice that an unnecessary hard link from qmake.exe -> qmake6.exe is created.
D:\Qt\src\build-dev-vs2019_64-shared\qtbase>cmake -DQT_BUILD_DIR=. -P bin\qt-cmake-private-install.cmake -- Installing configuration: 'Release' 'D:/tools/cmake-3.20.2-windows-x86_64/bin/cmake.exe' '--install' '.' '--config' 'Release' ...... -- Installing: D:/Qt/qt-dev-vs2019_64-shared/bin/qmake.exe -- Creating hard link D:/Qt/qt-dev-vs2019_64-shared/bin/qmake.exe -> D:/Qt/qt-dev-vs2019_64-shared/bin/qmake6.exe
I think the aim of qmake6 is to make Qt 5 and Qt 6 co-installable for Linux distributions ( QTBUG-89170 ), qmake6 should not exist on platforms other than Linux. Also, I think on Linux, we just need to rename qmake to qmake6, no need to create hard link.
Attachments
For Gerrit Dashboard: QTBUG-93636 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
349082,3 | CMake: add an option to enable or disable versioned hard link | dev | qt/qtbase | Status: MERGED | +2 | 0 |
349131,2 | CMake: add an option to enable or disable versioned hard link | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |