#include <QtCore/qnamespace.h> #ifndef QNAMESPACE_H namespace Qt{ enum Orientation{ Horizontal = 1, Vertical = 2, }; }; #endif // QNAMESPACE_H