diff --git a/src/modules/users/UsersViewStep.cpp b/src/modules/users/UsersViewStep.cpp index c5e419aa0..8e91ddfcc 100644 --- a/src/modules/users/UsersViewStep.cpp +++ b/src/modules/users/UsersViewStep.cpp @@ -23,6 +23,8 @@ #include "JobQueue.h" #include "GlobalStorage.h" +CALAMARES_PLUGIN_FACTORY_DEFINITION( UsersViewStepFactory, registerPlugin(); ) + UsersViewStep::UsersViewStep( QObject* parent ) : Calamares::ViewStep( parent ) , m_widget( new UsersPage() ) diff --git a/src/modules/users/UsersViewStep.h b/src/modules/users/UsersViewStep.h index e5d617876..cb70d98aa 100644 --- a/src/modules/users/UsersViewStep.h +++ b/src/modules/users/UsersViewStep.h @@ -21,8 +21,10 @@ #include -#include "viewpages/ViewStep.h" -#include "PluginDllMacro.h" +#include +#include + +#include #include @@ -31,9 +33,6 @@ class UsersPage; class PLUGINDLLEXPORT UsersViewStep : public Calamares::ViewStep { Q_OBJECT - Q_PLUGIN_METADATA( IID "calamares.ViewModule/1.0" ) - - Q_INTERFACES( Calamares::ViewStep ) public: explicit UsersViewStep( QObject* parent = nullptr ); @@ -67,4 +66,6 @@ private: QStringList m_defaultGroups; }; +CALAMARES_PLUGIN_FACTORY_DECLARATION( UsersViewStepFactory ) + #endif // USERSPAGEPLUGIN_H