X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=inline;f=www%2Fpswgen04.html;h=bf8804683831de7aea9766dec88bc3edf49e560e;hb=14d19e80570564c2cdbe9ca6feba246fa994a250;hp=df82cb0b946a970ac9d1335fee64c395576e05c1;hpb=95547de3c87b4f0dc46b2fc53f18e7cbd1782de4;p=evaf diff --git a/www/pswgen04.html b/www/pswgen04.html index df82cb0..bf88046 100644 --- a/www/pswgen04.html +++ b/www/pswgen04.html @@ -93,6 +93,11 @@ VER_EXPORT_VERSION_INFO() +
To make the Module class a proper Qt plugin, we use the Q_EXPORT_PLUGIN2 macro. The name of the module is already + defined in the version.h header file as VER_MODULE_NAME_STR. + +
Q_EXPORT_PLUGIN2(VER_MODULE_NAME_STR, eVaf::PswGen::Generator::Module)+
We make our life easier with several using namespace keywords:
using namespace eVaf;