Hello Artem,
it works! your code sample pointed me on the issue.
You were using "applicationDirPath", I was using QStandardPaths::
writableLocation(QStandardPaths::TempLocation)
I tested applicationDirPath, same as you, it worked. (but this directory is
not good because not writable.)
then I tri
Hummm, that’s getting really strange.
I will create a git repo this evening so we can speak about the same code.
On Mon, 17 Sep 2018 at 09:06, Artem Sidyakin wrote:
> > OK it works on macos, but what about iOS?
>
> I was talking about iOS :)
> It works on iOS, my last e-mail was exactly about th
> OK it works on macos, but what about iOS?
I was talking about iOS :)
It works on iOS, my last e-mail was exactly about that.
---
Artem Sidyakin
> On 17 Sep 2018, at 01:13, Sylvain Pointeau wrote:
>
>
> On Sun, Sep 16, 2018 at 5:24 PM Artem Sidyakin wrote:
> I would understand if local file
On Sun, Sep 16, 2018 at 5:24 PM Artem Sidyakin wrote:
> I would understand if local file loading was allowed and remote forbidden,
> but not the other way around. So if remote works, so should local.
>
No, a local file can be a threat if you receive it by email etc.
Especially on an iOS where th
I would understand if local file loading was allowed and remote forbidden, but
not the other way around. So if remote works, so should local.
To confirm that, I simply copied files into the app bundle (Show Package
Contents) and just to be sure checked if they are “accessible”:
foreach(QString
Le dim. 16 sept. 2018 à 12:22, Artem Sidyakin a
écrit :
> Original question was about “communication between WebView and QML on
> iOS”, which does work, as we can see.
> Now there is an issue of loading HTML documents from file/resource system,
> but that’s a different kind of issue, innit (which
Original question was about “communication between WebView and QML on iOS”,
which does work, as we can see.
Now there is an issue of loading HTML documents from file/resource system, but
that’s a different kind of issue, innit (which I also would like to get to the
bottom of).
> you confirm tha
> > Are you sure the WebView can load from the resources (url:
> “qrc:/index.html)?
>
> I knew it cannot (does qrc:/ work on iOS at all?), but I was silently
> waiting for someone to provide the way it should be done on iOS :)
> Unfortunately no-one did, so apparently it’s a bigger problem than I
>
> I hadn’t heard about this change and old habits die hard
I can certainly double that! Good news.
> Are you sure the WebView can load from the resources (url: “qrc:/index.html)?
I knew it cannot (does qrc:/ work on iOS at all?), but I was silently waiting
for someone to provide the way it shou
to make it clearer, it does work on the simulator but not on my ipad device.
@qt developers, please could you confirm if the webchannel is working or
not on ipad (with the webview) ?
Le ven. 14 sept. 2018 à 22:43, Sylvain Pointeau
a écrit :
> Hello,
>
> I finally succeeded to make it working on
10 matches
Mail list logo