#include <QtCore/qpoint.h> #ifndef QPOINT_H class QPoint{ /* Some contents are skipped to improve readability */ #if defined(Q_OS_MAC) #else private: int xp; #endif /* ... */ }; #endif // QPOINT_H