Changeset 8 for trunk/qmake/project.cpp
- Timestamp:
- Nov 16, 2005, 8:36:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qmake/project.cpp
r7 r8 69 69 const QString concat = QDir::separator() + QString("mkspecs"); 70 70 if(const char *qmakepath = getenv("QMAKEPATH")) { 71 #if def Q_OS_WIN71 #if defined(Q_OS_WIN) || defined(Q_OS_OS2) 72 72 QStringList lst = QStringList::split(';', qmakepath); 73 73 for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it) { … … 707 707 else if(Option::target_mode == Option::TARG_WIN_MODE && x == "win32") 708 708 return TRUE; 709 else if(Option::target_mode == Option::TARG_OS2_MODE && x == "os2") 710 return TRUE; 709 711 710 712 … … 897 899 QStringList feature_roots; 898 900 if(const char *mkspec_path = getenv("QMAKEFEATURES")) { 899 #if def Q_OS_WIN901 #if defined(Q_OS_WIN) || defined(Q_OS_OS2) 900 902 QStringList lst = QStringList::split(';', mkspec_path); 901 903 for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it) … … 906 908 } 907 909 if(const char *qmakepath = getenv("QMAKEPATH")) { 908 #if def Q_OS_WIN910 #if defined(Q_OS_WIN) || defined(Q_OS_OS2) 909 911 QStringList lst = QStringList::split(';', qmakepath); 910 912 for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it) {
Note:
See TracChangeset
for help on using the changeset viewer.