mirror of
https://github.com/status-im/qzxing.git
synced 2025-01-09 18:45:49 +00:00
18 lines
365 B
C++
18 lines
365 B
C++
#include <QtGui/QGuiApplication>
|
|
#include "qtquick2applicationviewer.h"
|
|
|
|
#include <QZXing.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QGuiApplication app(argc, argv);
|
|
|
|
QZXing::registerQMLTypes();
|
|
QtQuick2ApplicationViewer viewer;
|
|
viewer.setMainQmlFile(QStringLiteral("qml/BarcodeEncoder/main.qml"));
|
|
|
|
viewer.showExpanded();
|
|
|
|
return app.exec();
|
|
}
|