← Back to team overview

ubuntu-phone team mailing list archive

Re: Running uNav locally

 

El jueves, 21 de abril de 2016 15:12:37 (CEST), Michael Zanetti <michael.zanetti@xxxxxxxxxxxxx> escribió:


Note that you are tricking the system into thinking you are launching
the dialer-app with this. While your "fake dialer app" is running, you
probably won't be able to properly handle phone calls as the real dialer
app can't be started. Better create your own .desktop file for your app.


Yes, thanks for the hint.

At the moment I cant let it do anything with the attached code
it starts, but crashes with SIGSEGV




--
Sent from my Ubuntu mobile device
http://www.unixarea.de/
#include <QCoreApplication>
#include <QtWidgets/QApplication>
#include <QtWidgets/QPushButton>
#include <QSettings>
#include <QDebug>
#include <QDateTime>
#include <QStringList>
#include <QtGui/QKeyEvent>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QPushButton hello;
    hello.setText("Hello world!");

    hello.show();
    return a.exec();

}


Follow ups

References