Changeset 28 for trunk/qmake


Ignore:
Timestamp:
Jun 11, 2009, 10:11:16 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Create mkspecs/default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/project.cpp

    r27 r28  
    16681668                                             : vars["QMAKESPEC_ORIGINAL"]);
    16691669        if (!spec_org.isEmpty()) {
    1670             spec = spec_org.at(0);
    1671             int lastSlash = spec.lastIndexOf('/');
    1672             if(lastSlash != -1)
    1673                 spec = spec.mid(lastSlash + 1);
     1670            spec = QFileInfo(spec_org.at(0)).fileName();
    16741671            if((regex && re.exactMatch(spec)) || (!regex && spec == x))
    16751672                return true;
Note: See TracChangeset for help on using the changeset viewer.