#include <QtCore/qnamespace.h> #ifndef QNAMESPACE_H namespace Qt{ enum AspectRatioMode{ /* Some contents are skipped to improve readability */ KeepAspectRatioByExpanding = 2, /* ... */ }; }; #endif // QNAMESPACE_H