New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14602: qprocess_unix.cpp.diff

File qprocess_unix.cpp.diff, 0.6 KB (added by marcuscalhounlopez@…, 4 years ago)
  • src/corelib/io/qprocess_unix.cpp

    old new  
    7878#include "qprocess.h" 
    7979#include "qprocess_p.h" 
    8080 
    81 #ifdef Q_OS_MAC 
     81#ifdef Q_WS_MAC 
    8282#include <private/qcore_mac_p.h> 
    8383#endif 
    8484 
     
    591591 
    592592    // Encode the program name. 
    593593    QByteArray encodedProgramName = QFile::encodeName(program); 
    594 #ifdef Q_OS_MAC 
     594#ifdef Q_WS_MAC 
    595595    // allow invoking of .app bundles on the Mac. 
    596596    QFileInfo fileInfo(QString::fromUtf8(encodedProgramName.constData())); 
    597597    if (encodedProgramName.endsWith(".app") && fileInfo.isDir()) {