Ignore:
Timestamp:
Nov 30, 2009, 12:56:45 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Don't assume that relative paths in all OSes look like in *nix [vendor bug].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/cachekeys.h

    r2 r362  
    4848#include <qfile.h>
    4949#include <qfileinfo.h>
     50
    5051#include <qhash.h>
    5152
     
    107108            return true;
    108109
     110
     111
     112
    109113        const QChar c0 = file.at(0);
    110114        const QChar c1 = length >= 2 ? file.at(1) : QChar(0);
     
    114118                || (c0 == QLatin1Char('/') && c1 == QLatin1Char('/'))
    115119                || (c0 == QLatin1Char('\\') && c1 == QLatin1Char('\\')));
     120
    116121    }
    117122};
Note: See TracChangeset for help on using the changeset viewer.