Skip to content

Commit

Permalink
Add Qt metatype.
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-soja committed May 17, 2021
1 parent ac21f13 commit a1fa1df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libs/indibase/property/indiproperty.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,9 @@ class Property
};

} // namespace INDI

#ifdef QT_CORE_LIB
#include <QMetaType>
Q_DECLARE_METATYPE(INDI::Property)
static int indi_property_metatype_id = QMetaTypeId< INDI::Property >::qt_metatype_id();
#endif

0 comments on commit a1fa1df

Please sign in to comment.