Ignore:
Timestamp:
Feb 5, 2010, 1:07:07 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake/os2: Remove the drive letter in front of $(INSTALL_ROOT) from the destination path in install targets.

File:
1 edited

Legend:

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

    r414 r530  
    11951195{
    11961196    QString ret(root + path);
    1197     if(path.length() > 2 && path[1] == ':') //c:\foo
    1198         ret = QString(path.mid(0, 2) + root + path.mid(2));
     1197    if(path.length() > 2 && path[1] == ':') { //c:\foo
     1198        if (Option::target_mode == Option::TARG_OS2_MODE)
     1199            ret = root + path.mid(2);
     1200        else
     1201            ret = path.mid(0, 2) + root + path.mid(2);
     1202    }
    11991203    while(ret.endsWith("\\"))
    12001204        ret = ret.left(ret.length()-1);
Note: See TracChangeset for help on using the changeset viewer.