Changeset 356 for trunk/qmake/generators
- Timestamp:
- Nov 28, 2009, 8:45:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qmake/generators/makefile.cpp
r199 r356 2734 2734 } 2735 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2736 2754 QString 2737 2755 MakefileGenerator::fileFixify(const QString& file, const QString &out_d, const QString &in_d, … … 2787 2805 ret = Option::fixPathToTargetOS(ret, false, canon); 2788 2806 if(canon && qfileinfo.exists() && 2789 file == Option::fixPathToTargetOS(ret, true, canon))2807 )) 2790 2808 ret = Option::fixPathToTargetOS(qfileinfo.canonicalFilePath()); 2791 2809 QString match_dir = Option::fixPathToTargetOS(out_dir, false, canon); 2792 if( ret == match_dir) {2810 if() { 2793 2811 ret = ""; 2794 } else if( ret.startsWith(match_dir + Option::dir_sep)) {2812 } else if(match_dir + Option::dir_sep)) { 2795 2813 ret = ret.mid(match_dir.length() + Option::dir_sep.length()); 2796 2814 } else { … … 2813 2831 if(match_dir.isEmpty()) 2814 2832 break; 2815 if( ret.startsWith(match_dir + Option::dir_sep)) {2833 if(match_dir + Option::dir_sep)) { 2816 2834 //concat 2817 2835 int remlen = ret.length() - (match_dir.length() + 1);
Note:
See TracChangeset
for help on using the changeset viewer.