Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.4.3
-
None
-
f604c94f18104a88f5ed6274b2a62eda69efe937
Description
Consider the following .pro file:
TEMPLATE = lib
CONFIG += staticlib
DESTDIR = foo
TARGET= bar
The actual result of running qmake on this .pro file results in the following Makefile contents:
...
DESTDIR = foo/
TARGET = libbar.a
...
distclean: clean
-$(DEL_FILE) $(TARGET)
-$(DEL_FILE) Makefile
...
However, the expected distclean rule is:
distclean: clean
-$(DEL_FILE) foo/$(TARGET)
-$(DEL_FILE) Makefile
Attachments
Issue Links
- resulted in
-
QTBUG-40264 qmake creates invalid path for distclean target in Makefile
- Closed
For Gerrit Dashboard: QTBUG-3883 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
72080,1 | make distclean actually remove the static library target | stable | qt/qtbase | Status: MERGED | +2 | 0 |