diff --git a/playground/grids/main.cpp b/playground/grids/main.cpp index ea81b96a..62a666b5 100644 --- a/playground/grids/main.cpp +++ b/playground/grids/main.cpp @@ -5,6 +5,8 @@ #include "TestBox.h" +#include + #include #include @@ -386,6 +388,7 @@ class MainWidget : public QWidget int main( int argc, char** argv ) { QApplication app( argc, argv ); + Skinny::init(); int testcase = 0; if ( argc == 2 ) diff --git a/support/SkinnyNamespace.cpp b/support/SkinnyNamespace.cpp index baf2d6a6..86066f2c 100644 --- a/support/SkinnyNamespace.cpp +++ b/support/SkinnyNamespace.cpp @@ -138,3 +138,11 @@ void Skinny::changeFonts( int increment ) Q_EMIT qskSetup->skinChanged( skin ); } + +void Skinny::init() +{ + /* + a dummy call - has no reason beside, that applications can load + the lib and all initializaion take place + */ +} diff --git a/support/SkinnyNamespace.h b/support/SkinnyNamespace.h index 072e60b2..ef47ddb1 100644 --- a/support/SkinnyNamespace.h +++ b/support/SkinnyNamespace.h @@ -12,4 +12,5 @@ namespace Skinny { SKINNY_EXPORT void changeSkin( QskAnimationHint hint = 500 ); SKINNY_EXPORT void changeFonts( int increment ); + SKINNY_EXPORT void init(); }