Changeset 909

Timestamp:
Jul 25, 2011, 12:46:18 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Escape file path in clean rules of extra targets.

This makes sure the path has proper (native) separators and quoting
when passed to the DEL_FILE command (affects Windows and OS/2).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/generators/makefile.cpp

    r898 r909  
    19061906                                2047; // NT limit, expanded
    19071907                        for(int input = 0; input < tmp_inputs.size(); ++input) {
    1908                             file = " " + replaceExtraCompilerVariables(tmp_clean, tmp_inputs.at(input),
    1909                                            replaceExtraCompilerVariables(tmp_out, tmp_inputs.at(input), QString()));
     1908                            file = replaceExtraCompilerVariables(tmp_clean, tmp_inputs.at(input),
     1909                                       replaceExtraCompilerVariables(tmp_out, tmp_inputs.at(input), QString()));
     1910                            file = " " + escapeFilePath(file);
    19101911                            if(del_statement.length() + files.length() +
    19111912                               qMax(fixEnvVariables(file).length(), file.length()) > commandlineLimit) {
Note: See TracChangeset for help on using the changeset viewer.