34 lines
902 B
C++
Raw Normal View History

2017-07-21 18:21:34 +02:00
/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* This file may be used under the terms of the 3-clause BSD License
*****************************************************************************/
#include <SkinnyFont.h>
2018-08-03 08:15:28 +02:00
#include <SkinnyShapeProvider.h>
2017-07-21 18:21:34 +02:00
#include <SkinnyShortcut.h>
2018-10-04 10:34:44 +02:00
#include <QskQml.h>
2017-07-21 18:21:34 +02:00
#include <QskObjectCounter.h>
#include <QGuiApplication>
2018-08-03 08:15:28 +02:00
#include <QQmlApplicationEngine>
2017-07-21 18:21:34 +02:00
int main( int argc, char* argv[] )
{
#ifdef ITEM_STATISTICS
QskObjectCounter counter( true );
#endif
2018-10-04 10:34:44 +02:00
QskQml::registerTypes();
2017-07-21 18:21:34 +02:00
Qsk::addGraphicProvider( "shapes", new SkinnyShapeProvider() );
QGuiApplication app( argc, argv );
SkinnyFont::init( &app );
SkinnyShortcut::enable( SkinnyShortcut::AllShortcuts );
QQmlApplicationEngine engine( QUrl( "qrc:/qml/buttons.qml" ) );
return app.exec();
}