Re: [Ubuntu-phone] Xmlhttprequest (XHR) from qt/qml

2016-02-04 Thread Lorn Potter
On 04/02/16 00:39, Roman Shchekin wrote: Check my project: https://github.com/QtRoS/yadpro. XMLHttpRequest works fine there. AFAIK applicationName:"yadpro" in MainForm s actually, this also suffers from this: Debug-helper> Executing /opt/click.ubuntu.com/.click/users/phablet/yadpro/lib/arm-

Re: [Ubuntu-phone] Xmlhttprequest (XHR) from qt/qml

2016-02-03 Thread Lorn Potter
On 04/02/16 14:42, Lorn Potter wrote: Hi, I can confirm this happens. I just tried an example app with code from: http://doc.qt.io/qt-5/qtqml-xmlhttprequest-get-qml.html The 'GetDevices' is revealing, as those calls should have gotten removed from the QtBearer network manager backend, I thoug

Re: [Ubuntu-phone] Xmlhttprequest (XHR) from qt/qml

2016-02-03 Thread Lorn Potter
Hi, I can confirm this happens. I just tried an example app with code from: http://doc.qt.io/qt-5/qtqml-xmlhttprequest-get-qml.html The 'GetDevices' is revealing, as those calls should have gotten removed from the QtBearer network manager backend, I thought in OTA 8.5 On 03/02/16 13:32, M

Re: [Ubuntu-phone] Xmlhttprequest (XHR) from qt/qml

2016-02-03 Thread Roman Shchekin
Hi Check my project: https://github.com/QtRoS/yadpro. XMLHttpRequest works fine there. AFAIK applicationName: "yadpro" in MainForm should be equal to name from manifest. Or something like this. 2016-02-03 16:50 GMT+03:00 Mathijs Veen : > Hi Mike, > > I have yes. That shouldn't be the issue. > Ac

Re: [Ubuntu-phone] Xmlhttprequest (XHR) from qt/qml

2016-02-03 Thread Mathijs Veen
Hi Mike, I have yes. That shouldn't be the issue. Actually I had already been searching for an app that does XHR succesfully, just hadnt found it yet. I will dive into your code and now I'm sure I will spot where I'm going wrong :) I was starting to doubt it could be done at all. cheers! Math

Re: [Ubuntu-phone] Xmlhttprequest (XHR) from qt/qml

2016-02-03 Thread Mike Sheldon
Hi Mathjis, Have you added the "networking" policy group to your app armor permissions? I'm using XHR in Podbird for fetching RSS feeds and it works without any issues. Cheers, Mike. On Wed, 2016-02-03 at 04:32 +0100, Mathijs Veen wrote: > hello everyone > > I was working on an app that makes

[Ubuntu-phone] Xmlhttprequest (XHR) from qt/qml

2016-02-02 Thread Mathijs Veen
hello everyone I was working on an app that makes use of xmlhttp requests. xmlhttprequest (XHR) is supported in qt qml since way back when. Both GET and POST. I have a working testapp that runs fine on the desktop. But it fails when it is deployed to my phone. It seems apparmor does not allow it: