diff --git a/src/plugins/qmldesigner/components/propertyeditor/basiclayouts.cpp b/src/plugins/qmldesigner/components/propertyeditor/basiclayouts.cpp index 8a5a2f536087ca6632aec147139bccf9cfae947a..2565faf3bab1794774e6819dfd25357df17506ac 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/basiclayouts.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/basiclayouts.cpp @@ -67,6 +67,8 @@ QVBoxLayoutObject::QVBoxLayoutObject(QObject *parent) { } +QT_END_NAMESPACE + void BasicLayouts::registerDeclarativeTypes() { QML_REGISTER_TYPE(Bauhaus,1,0,QBoxLayout,QBoxLayoutObject); @@ -74,4 +76,3 @@ void BasicLayouts::registerDeclarativeTypes() QML_REGISTER_TYPE(Bauhaus,1,0,QVBoxLayout,QVBoxLayoutObject); } -QT_END_NAMESPACE diff --git a/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp b/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp index 61292ceafb0400241b61d7d34818b60f64655cda..bec233003262e9cd7ba44400ca8980aa93816e4d 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp @@ -1204,6 +1204,7 @@ public: {} }; +QT_END_NAMESPACE QML_DECLARE_TYPE(QTabObject); QML_DECLARE_TYPE(MyGroupBox);