33 lines
831 B
C++
Raw Permalink Normal View History

2017-07-21 18:21:34 +02:00
/******************************************************************************
2024-01-17 14:31:45 +01:00
* QSkinny - Copyright (C) The authors
2023-04-06 09:23:37 +02:00
* SPDX-License-Identifier: BSD-3-Clause
2017-07-21 18:21:34 +02:00
*****************************************************************************/
#include "Frame.h"
#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
qmlRegisterType< Frame >( "Frames", 1, 0, "Frame" );
QGuiApplication app( argc, argv );
SkinnyShortcut::enable( SkinnyShortcut::Quit |
SkinnyShortcut::DebugShortcuts );
QQmlApplicationEngine engine( QUrl( "qrc:/qml/frames.qml" ) );
return app.exec();
}