#include <QtGui/qtooltip.h> #ifndef QTOOLTIP_H #ifndef QT_NO_TOOLTIP class QToolTip{ /* Some contents are skipped to improve readability */ public: static inline void hideText(); /* ... */ }; #endif // QT_NO_TOOLTIP #endif // QTOOLTIP_H