Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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)

gnumake.diff (3.9 KB) - added by rudi 13 years ago.
Diff for qmake/generators/os2/gnumake.cpp

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by rudi

Attachment: gnumake.diff added

Diff for qmake/generators/os2/gnumake.cpp

comment:1 Changed 13 years ago by Dmitry A. Kuminov

Resolution: fixed
Status: newclosed

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 Changed 13 years ago by rudi

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 Changed 13 years ago by Dmitry A. Kuminov

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.

Note: See TracTickets for help on using tickets.