Ignore:
Timestamp:
Aug 17, 2011, 5:24:24 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Revert r530.

This change introduced behavior unexpected by qmake users (compared
to e.g. the Window platform where the drive letter remains intact), made it
not possible to specify the full install path (including the drive letter) and
hence is wrong.

File:
1 edited

Legend:

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

    r992 r998  
    12211221{
    12221222    QString ret(root + path);
    1223     if(path.length() > 2 && path[1] == ':') { //c:\foo
    1224         if (Option::target_mode == Option::TARG_OS2_MODE)
    1225             ret = root + path.mid(2);
    1226         else
    1227             ret = path.mid(0, 2) + root + path.mid(2);
    1228     }
     1223    if(path.length() > 2 && path[1] == ':') //c:\foo
     1224        ret = QString(path.mid(0, 2) + root + path.mid(2));
    12291225    while(ret.endsWith("\\"))
    12301226        ret = ret.left(ret.length()-1);
Note: See TracChangeset for help on using the changeset viewer.