← Back to team overview

ubuntu-phone team mailing list archive

Re: QProcess, and a QML/JavaScript only alternative?

 

Hi,

It's easy to write a plugin of invokable like this:

Q_INVOKABLE void execCommand(const QString &msg) {
  QProcess::startDetached(msg);
}

Best,
penk


On Tue, Nov 26, 2013 at 8:58 AM, Israel <israeldahl@xxxxxxxxx> wrote:

> Is there work going on to integrate something like QProcess into
> QML/JavaScript.  I'd really like to run some external programs (festival
> for one, and to make a few nice configuration programs for the
> in-process LXQt version of Lubuntu) as I'd rather the program be
> smaller, as both phone and Lubuntu generally want smaller programs,
> rather than full-on C++ code (if avoidable)
> Any help with this, would be appreciated
>
> --
> Regards
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>

References