#include <QtGui/qinputdialog.h> #ifndef QINPUTDIALOG_H #ifndef QT_NO_INPUTDIALOG class QInputDialog: public QDialog{ /* Some contents are skipped to improve readability */ public: static struct QMetaObject const staticMetaObject; /* ... */ }; #endif // QT_NO_INPUTDIALOG #endif // QINPUTDIALOG_H