← Back to team overview

ubuntu-phone team mailing list archive

[Development] Initialisation before run QCoreApplication

 

Hi guys I want do some initialisation before run app, because I must do it
for some library. But I want use QML as in normal Ubuntu Touch app do it. I
want create .click package too.
So how can I do something like this?

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    some_initialisation();
    return a.exec();
}

Follow ups