Fix ObjectCreator build

This commit is contained in:
akrieger 2022-10-04 13:12:41 -07:00
parent b90005ebbf
commit 8446d9c793
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@
****************************************************************************/
#include "flowlayout.h"
#include <QtWidgets>
#include <QtWidgets/QtWidgets>
creator::FlowLayout::FlowLayout( QWidget *parent, int margin, int hSpacing, int vSpacing )
: QLayout( parent ), m_hSpace( hSpacing ), m_vSpace( vSpacing ) {
@ -188,4 +188,4 @@ int creator::FlowLayout::smartSpacing( QStyle::PixelMetric pm ) const {
} else{
return static_cast<QLayout *>( parent )->spacing();
}
}
}

View File

@ -1,5 +1,5 @@
#include "simple_property_widget.h"
#include <QtWidgets>
#include <QtWidgets/QtWidgets>
creator::simple_property_widget::simple_property_widget( QWidget* parent, QString propertyText,
property_type prop_type, QObject* to_notify ) : QFrame( parent ) {
@ -167,4 +167,4 @@ QEvent::Type creator::property_changed::registeredType()
eventType = static_cast<QEvent::Type>( generatedType );
}
return eventType;
}
}