#include <QtCore/qprocess.h> #ifndef QPROCESS_H #ifndef QT_NO_PROCESS class QProcess: public QIODevice{ /* Some contents are skipped to improve readability */ protected: virtual qint64 readData(char* data, qint64 maxlen); /* ... */ }; #endif // QT_NO_PROCESS #endif // QPROCESS_H