Changeset 8 for trunk/qmake/project.cpp


Ignore:
Timestamp:
Nov 16, 2005, 8:36:46 PM (20 years ago)
Author:
dmik
Message:

Transferred Qt for OS/2 version 3.3.1-rc5 sources from the CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/project.cpp

    r7 r8  
    6969    const QString concat = QDir::separator() + QString("mkspecs");
    7070    if(const char *qmakepath = getenv("QMAKEPATH")) {
    71 #ifdef Q_OS_WIN
     71#if defined(Q_OS_WIN) || defined(Q_OS_OS2)
    7272        QStringList lst = QStringList::split(';', qmakepath);
    7373        for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it) {
     
    707707    else if(Option::target_mode == Option::TARG_WIN_MODE && x == "win32")
    708708        return TRUE;
     709    else if(Option::target_mode == Option::TARG_OS2_MODE && x == "os2")
     710        return TRUE;
    709711
    710712
     
    897899                QStringList feature_roots;
    898900                if(const char *mkspec_path = getenv("QMAKEFEATURES")) {
    899 #ifdef Q_OS_WIN
     901#if defined(Q_OS_WIN) || defined(Q_OS_OS2)
    900902                    QStringList lst = QStringList::split(';', mkspec_path);
    901903                    for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it)
     
    906908                }
    907909                if(const char *qmakepath = getenv("QMAKEPATH")) {
    908 #ifdef Q_OS_WIN
     910#if defined(Q_OS_WIN) || defined(Q_OS_OS2)
    909911                    QStringList lst = QStringList::split(';', qmakepath);
    910912                    for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it) {
Note: See TracChangeset for help on using the changeset viewer.