diff --git a/examples/mycontrols/main.cpp b/examples/mycontrols/main.cpp index 7102c1a7..cc19f7a2 100644 --- a/examples/mycontrols/main.cpp +++ b/examples/mycontrols/main.cpp @@ -141,6 +141,8 @@ int main( int argc, char* argv[] ) Qsk::addGraphicProvider( "shapes", new SkinnyShapeProvider() ); qskSkinManager->setPluginPaths( QStringList() ); // no plugins + qskSkinManager->unregisterFactories(); // get rid of the factories of the support lib + qskSkinManager->registerFactory( QStringLiteral( "MySkinFactory" ), new MySkinFactory() );