#include <QtCore/qprocess.h> #ifndef QPROCESS_H #ifndef QT_NO_PROCESS class QProcess: public QIODevice{ /* Some contents are skipped to improve readability */ public: enum ExitStatus{ NormalExit = 0, CrashExit = 1, }; /* ... */ }; #endif // QT_NO_PROCESS #endif // QPROCESS_H