Ignore:
Timestamp:
Aug 13, 2011, 11:51:22 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Reverted r897.

QFileInfo() comparison is not well defined for non-existent files.

File:
1 edited

Legend:

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

    r976 r978  
    13031303                if(!dirstr.endsWith(Option::dir_sep))
    13041304                    dirstr += Option::dir_sep;
    1305                 bool is_target = QFileInfo(wild) ==
    1306                     QFileInfo(Option::fixPathToTargetOS(QDir(Option::output_dir)
    1307                                                         .absoluteFilePath(var("DEST_TARGET"))));
     1305                bool is_target = (wild == fileFixify(var("TARGET"), FileFixifyAbsolute));
    13081306                if(is_target || exists(wild)) { //real file or target
    13091307                    QString file = wild;
Note: See TracChangeset for help on using the changeset viewer.