+ workaround to avoid to create invalid code with moc
This commit is contained in:
parent
21b019fd24
commit
f1762edd6c
|
@ -32,7 +32,9 @@
|
|||
#include "SpinBox.h"
|
||||
#include "FileDialog.h"
|
||||
|
||||
#ifdef Q_MOC_RUN
|
||||
Q_DECLARE_METATYPE(Base::Quantity)
|
||||
#endif
|
||||
|
||||
namespace Gui {
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
#include <Gui/Placement.h>
|
||||
#include <Gui/FileDialog.h>
|
||||
#include <Gui/DlgPropertyLink.h>
|
||||
#include <Gui/InputField.h>
|
||||
|
||||
#include "PropertyItem.h"
|
||||
|
||||
|
|
|
@ -33,15 +33,16 @@
|
|||
#include <Base/Vector3D.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Placement.h>
|
||||
#include <Base/Quantity.h>
|
||||
#include <Base/UnitsApi.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <Gui/Widgets.h>
|
||||
#include <Gui/InputField.h>
|
||||
|
||||
Q_DECLARE_METATYPE(Base::Vector3f)
|
||||
Q_DECLARE_METATYPE(Base::Vector3d)
|
||||
Q_DECLARE_METATYPE(Base::Matrix4D)
|
||||
Q_DECLARE_METATYPE(Base::Placement)
|
||||
Q_DECLARE_METATYPE(Base::Quantity)
|
||||
|
||||
namespace Gui {
|
||||
namespace Dialog { class TaskPlacement; }
|
||||
|
|
Loading…
Reference in New Issue
Block a user