#220 closed defect (fixed)
QMake doesn't support shadow builds
Reported by: | rudi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Qt 4.7 |
Component: | qmake | Version: | |
Severity: | medium | Keywords: | |
Cc: |
Description
Our QMake fails to create response files in the right location when called from outside the source tree. This is feature is needed for so-called shadow builds, which appear to be the default in recent versions of QtCreator. Find a fix attached...
Attachments (1)
Change History (4)
by , 14 years ago
Attachment: | gnumake.diff added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Rudi, thanks for raising this problem, it was in my internal todo list since long.
Your patch, a bit fixed and enhanced, is committed in r882.
comment:2 by , 13 years ago
An addition: Version 4.00.001 of RC.EXE (dated Jun 27 1996) has a problem. Given an *.RC file like this:
ICON 1 "myicon.ico"
it searches the icon file in the current directory. This doesn't work in case of a shadow build. The newer version 4.00.011 (dated Oct 10 2000), seems search %INCLUDE% and is O.K. so far. Even though IMHO it should use a path relative to the location of the *.RC file.
Anyway, we probably need to mention that in the README...
comment:3 by , 13 years ago
I don't have 4.00.001 it but I believe you (some versions of RC are known to have nasty bugs). I checked that it works as expected with both 4.00.011 and 5.00.007 and mentioned it in README.OS2 in r894.
Diff for qmake/generators/os2/gnumake.cpp