#include <QtCore/qrect.h> #ifndef QRECT_H class QRect{ /* Some contents are skipped to improve readability */ #if defined(Q_OS_MAC) #else private: int x1; #endif /* ... */ }; #endif // QRECT_H