Re: [Ubuntu-phone] QProcess, and a QML/JavaScript only alternative?

2013-11-30 Thread Israel
On 11/30/2013 10:01 AM, Kevin Krammer wrote: > On Tuesday, 2013-11-26, 07:11:17, Israel wrote: >> On 11/26/2013 02:50 AM, Michael Zanetti wrote: >>> On Monday 25 November 2013 18:58:45 Israel wrote: Is there work going on to integrate something like QProcess into QML/JavaScript. I'd real

Re: [Ubuntu-phone] QProcess, and a QML/JavaScript only alternative?

2013-11-30 Thread Kevin Krammer
On Tuesday, 2013-11-26, 07:11:17, Israel wrote: > On 11/26/2013 02:50 AM, Michael Zanetti wrote: > > On Monday 25 November 2013 18:58:45 Israel wrote: > >> Is there work going on to integrate something like QProcess into > >> QML/JavaScript. I'd really like to run some external programs (festival

Re: [Ubuntu-phone] QProcess, and a QML/JavaScript only alternative?

2013-11-26 Thread Israel
On 11/26/2013 02:50 AM, Michael Zanetti wrote: > Here is a plugin that does this. > > https://gitorious.org/qml-process-element/qml-process-element-qt5/ > > However, I don't think apparmor lets you execute anything outside your > application's path and you should Qt.openUrlExternally() instead. H

Re: [Ubuntu-phone] QProcess, and a QML/JavaScript only alternative?

2013-11-26 Thread Michael Zanetti
Here is a plugin that does this. https://gitorious.org/qml-process-element/qml-process-element-qt5/ However, I don't think apparmor lets you execute anything outside your application's path and you should Qt.openUrlExternally() instead. On Monday 25 November 2013 18:58:45 Israel wrote: > Is the

Re: [Ubuntu-phone] QProcess, and a QML/JavaScript only alternative?

2013-11-25 Thread Penk Chen
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 wrote: > Is there work going on to integrate something like QProcess into > QML/JavaScript. I'd rea

[Ubuntu-phone] QProcess, and a QML/JavaScript only alternative?

2013-11-25 Thread Israel
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 Lubunt