#include <QtCore/qnamespace.h> #ifndef QNAMESPACE_H namespace Qt{ enum AspectRatioMode{ IgnoreAspectRatio = 0, KeepAspectRatio = 1, KeepAspectRatioByExpanding = 2, }; }; #endif // QNAMESPACE_H