1
#include <QtGui/QGuiApplication>
2
#include "qtquick2applicationviewer.h"
5
#include <QQmlComponent>
10
int main(int argc, char *argv[])
12
qmlRegisterType<Decoder>("Decoder", 1, 0, "Decoder");
14
QGuiApplication app(argc, argv);
16
QtQuick2ApplicationViewer viewer;
17
viewer.setMainQmlFile(QStringLiteral("qml/plugin-test/main.qml"));
18
viewer.showExpanded();