summaryrefslogtreecommitdiffstats
path: root/applications/kmail-quick/main.cpp
blob: cb59f46ee693ab5581eab925ebd230021b4ab8fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <QGuiApplication>
#include <QQmlApplicationEngine>

#include <QStandardPaths>

#include <KPackage/Package>
#include <KPackage/PackageLoader>
#include <KPackage/PackageStructure>

#include <QDebug>

int main(int argc, char *argv[])
{
    QGuiApplication app(argc, argv);
    auto mainFile = QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kpackage/genericqml/org.kde.pim.kmail-quick/contents/ui/main.qml", QStandardPaths::LocateFile);
    QQmlApplicationEngine engine(QUrl::fromLocalFile(mainFile));
    return app.exec();
}