Просмотр исходного кода

Register ctkCmdLineModuleReference with the Qt metaobject system.

Sascha Zelzer лет назад: 13
Родитель
Сommit
9d1a13c9a5
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      Libs/CommandLineModules/Core/ctkCmdLineModuleReference.h

+ 3 - 0
Libs/CommandLineModules/Core/ctkCmdLineModuleReference.h

@@ -25,6 +25,7 @@
 #include <ctkCommandLineModulesCoreExport.h>
 
 #include <QSharedDataPointer>
+#include <QMetaType>
 
 class ctkCmdLineModuleDescription;
 class ctkCmdLineModuleReferencePrivate;
@@ -58,4 +59,6 @@ private:
 
 };
 
+Q_DECLARE_METATYPE(ctkCmdLineModuleReference)
+
 #endif // CTKCMDLINEMODULEREFERENCE_H