mirror of
https://github.com/QRouland/UTPass.git
synced 2024-11-09 01:02:40 +00:00
21 lines
461 B
C++
21 lines
461 B
C++
#include <QGuiApplication>
|
|
#include <QCoreApplication>
|
|
#include <QUrl>
|
|
#include <QString>
|
|
#include <QQuickView>
|
|
#include <QtQml>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
new QGuiApplication(argc, argv);
|
|
QGuiApplication::setApplicationName("utpass.qrouland");
|
|
|
|
qDebug() << "Starting app from main.cpp";
|
|
|
|
auto *view = new QQuickView();
|
|
view->setSource(QUrl(QStringLiteral("qml/Main.qml")));
|
|
view->show();
|
|
|
|
return QGuiApplication::exec();
|
|
}
|