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 <[email protected]> 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     : [email protected]
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to