Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.2
-
None
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
- resulted from
-
QTCREATORBUG-15134 QMAKE_POST_LINK instruction executed before library is fully linked
- Closed