/****************************************************************************** * QSkinny - Copyright (C) 2016 Uwe Rathmann * This file may be used under the terms of the 3-clause BSD License *****************************************************************************/ #include "MainWindow.h" #include "SkinFactory.h" #include #include #include #include #include #include int main( int argc, char** argv ) { qskSkinManager->setPluginPaths( QStringList() ); // no skin plugins qskSkinManager->registerFactory( QStringLiteral( "sample" ), new SkinFactory() ); QGuiApplication app( argc, argv ); /* When going over QPainter for the SVGs we prefer the raster paint engine, simply showing better results. */ qskSetup->setControlFlag( QskSetup::PreferRasterForTextures, true ); SkinnyFont::init( &app ); SkinnyShortcut::enable( SkinnyShortcut::AllShortcuts ); MainWindow window; window.show(); return app.exec(); }