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

ranlib executed after qmake_post_link

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2
    • Build tools: qmake
    • None
    • macOS

    Description

      I think this bug affects all static lib projects that use unixmake2 qmake generator. In fact this is evident in theĀ generator source code (line 655 and line 675). With the generated make file QMAKE_POST_LINK command will be executed before ranlib command. So if in the pro file

      CONFIG += staticlib
      .....
      target.path = /path/to/dest
      INSTALLS = target
      QMAKE_POST_LINK=$(MAKE) install
      

      the file copied to /path/to/dest will not link. I experienced this bug with 5 different static lib projects (4 static plugin projects and 1 regular static library project). This bug was already reported and closed because of missing reviews / comments and wrong Component.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              p3g4asus Matteo Federico Zazzetta
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes