From 1c30548690d28f311a4a2aa8719a896301b9d2ec Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 17 Dec 2021 14:44:31 +0100 Subject: [PATCH] workaround for missing skin loading --- playground/grids/main.cpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/playground/grids/main.cpp b/playground/grids/main.cpp index b316789d..b16c5fd0 100644 --- a/playground/grids/main.cpp +++ b/playground/grids/main.cpp @@ -5,6 +5,8 @@ #include "TestBox.h" +#include + #include #include @@ -385,7 +387,16 @@ class MainWidget : public QWidget int main( int argc, char** argv ) { - QApplication a( argc, argv ); + QApplication app( argc, argv ); + +#if 1 + /* + we don't need the fonts, but by calling something from + the support library initializations regarding the skins + are loaded. TODO ... + */ + SkinnyFont::init( &app ); +#endif int testcase = 0; if ( argc == 2 ) @@ -396,5 +407,5 @@ int main( int argc, char** argv ) w.resize( 600, 600 ); w.show(); - return a.exec(); + return app.exec(); }