Changeset 696


Ignore:
Timestamp:
Mar 16, 2010, 11:07:18 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

qtdemo: Make it find demo and example executables on OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/qtdemo/menumanager.cpp

    r651 r696  
    326326    //make sure it finds the dlls on windows
    327327    QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
    328     env.insert(QLatin1String("PATH"), QLibraryInfo::location(QLibraryInfo::BinariesPath) 
     328    env.insert(QLatin1String("PATH"), QLibraryInfo::location(QLibraryInfo::BinariesPath)
    329329               + QLatin1Char(';') + env.value(QLatin1String("Path")));
    330330    process->setProcessEnvironment(env);
     
    436436    QFile unixFile(dir.path() + "/" + fileName);
    437437    if (unixFile.exists()) return unixFile.fileName();
     438
     439
    438440    QFile winR(dir.path() + "\\release\\" + fileName + ".exe");
    439441    if (winR.exists()) return winR.fileName();
Note: See TracChangeset for help on using the changeset viewer.