Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-93636

Unnecessary hard link from qmake.exe to qmake6.exe

    XMLWordPrintable

Details

    • Windows
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            lixinwei Li Xinwei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes