Glad that you have succeeded.
Meanwhile, I’ve done some tests and most importantly finally read the
documentation (https://doc.qt.io/qt-5.11/qml-qtwebview-webview.html#url-prop),
so loading documents to WebView through qrc:/ is actually not supported.
However, it does work on Mac OS :) but I gu
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
Hello,
I finally succeeded to make it working on the simulator... *unfortunately
it does not work on the physical ipad.*
to make it working, I had to copy the resource files on the temp dir, to
pass the temp dir to QML, then use "file://"+mytemppath+"/index.html". Also
I removed all "qrc:/" in th
I did copy the file on a writeable path, it does not load neither... does
it even load local files, located in the app document folder?
On Fri, Sep 14, 2018 at 8:44 PM Sylvain Pointeau
wrote:
> Are you sure the WebView can load from the resources (url:
> "qrc:/index.html)?
> for me this does not
Are you sure the WebView can load from the resources (url:
"qrc:/index.html)?
for me this does not work on ios, how could you make it run?
Best regards,
Sylvain
On Fri, Sep 14, 2018 at 7:48 PM Sylvain Pointeau
wrote:
> Hi Artem,
>
> I just tried yesterday and today evening.
> For me it does wor
Hi Artem,
I just tried yesterday and today evening.
For me it does work on the desktop but not on the simulator. (the screen
has 2 rectangles, one green with the text "some text" and one empty blue
box)
I have Qt 5.11.1
not sure what happens...
Best regards,
Sylvain
On Tue, Sep 4, 2018 at 5:0
;Jason H"
> Cc: "Artem Sidyakin" , "Qt Project"
>
> Subject: Re: [Interest] qtwebview with qtwebchannel
>
> https://stackoverflow.com/questions/4952820/test-ios-app-on-device-without-apple-developer-program-or-jailbreak
>
> On June 8th, Apple announced t
>
> Prove me wrong. :-)
>
>
>
> > Sent: Wednesday, September 05, 2018 at 7:54 AM
> > From: "Sylvain Pointeau"
> > To: "Jason H"
> > Cc: "Artem Sidyakin" , "Qt Project" <
> interest@qt-project.org>
> > S
teau"
> To: "Jason H"
> Cc: "Artem Sidyakin" , "Qt Project"
>
> Subject: Re: [Interest] qtwebview with qtwebchannel
>
> I do nothing, XCode is doing everything
>
> Le mer. 5 sept. 2018 à 00:55, Jason H a écrit :
>
> > Neat. How d
ain Pointeau"
> *To:* "Jason H"
> *Cc:* "Artem Sidyakin" , "Qt Project" <
> interest@qt-project.org>
>
> *Subject:* Re: [Interest] qtwebview with qtwebchannel
> Hello, yes I am 100% sure, I deploy on my ipad and I don't have an acti
Neat. How do you manage that? Everytime I deploy to a new device, it makes me register it in the developer portal.
Sent: Tuesday, September 04, 2018 at 2:39 PM
From: "Sylvain Pointeau"
To: "Jason H"
Cc: "Artem Sidyakin" , "Qt Project"
Subject: Re
> provision.
> Unless I'm wrong?
>
> *Sent:* Tuesday, September 04, 2018 at 12:38 AM
> *From:* "Sylvain Pointeau"
> *To:* "Artem Sidyakin" , "Qt Project" <
> interest@qt-project.org>
> *Subject:* Re: [Interest] qtwebview with qtwebchannel
"Qt Project"
Subject: Re: [Interest] qtwebview with qtwebchannel
Hello, No I could not try yet, but I will do it this week. Note that there is no need to pay the subscribtion to test it on the real device, the subscription is only needed to put it on the app store.
thank you for your h
Hello, No I could not try yet, but I will do it this week. Note that there
is no need to pay the subscribtion to test it on the real device, the
subscription is only needed to put it on the app store.
thank you for your help!
Sylvain
Le mar. 4 sept. 2018 à 05:09, Artem Sidyakin a
écrit :
> Hav
Have you succeeded? I got curious enough to try it myself and ran the example
in Xcode’s Simulator - it works (https://i.imgur.com/bhE5NJa.png).
I don’t have free $99 to try it on an actual iOS device, but I guess it will
work fine there too.
---
Artem Sidyakin
> On 29 Aug 2018, at 10:17, Artem
Sure, I used this one:
https://github.com/retifrav/qml-webchannel-websockets/tree/master/websockets-mostly-qml/websockets
And here’s an article about that just in case:
https://retifrav.github.io/blog/2018/07/14/html-from-qml-over-webchannel-websockets/#mostly-qml
---
Artem Sidyakin
> On 27 Aug
On Sun, 26 Aug 2018 at 19:47, Artem Sidyakin wrote:
> I have an example working with Qt 5.11.1 on Mac OS and Android.
> Unfortunately, I cannot check if it works on iOS - that’s why I was
> guessing.
>
could you put your example somewhere in github? so I can try it on ios?
Thank you
Best regar
> if anybody could tell me it is working
I have an example working with Qt 5.11.1 on Mac OS and Android.
Unfortunately, I cannot check if it works on iOS - that’s why I was guessing.
> I am wondering if this is not a security issue to open a socket
Not an expert myself, but it is a bit more safe
hello, it is different since a webview in ios is a wrapper to UIWebView
(which is now deprecated in ios 12 BTW).
I tried everything but i could not make it work on ios, I may have to try
it again with a newer Qt version In the meantime nobody really tried
and could proove that it works so I a
Have you already tried WebView
(http://doc.qt.io/qt-5/qml-qtwebview-webview.html) with WebChannel
(http://doc.qt.io/qt-5/qml-qtwebchannel-webchannel.html) over WebSocket
(https://doc.qt.io/qt-5/qml-qtwebsockets-websocketserver.html)? You referred to
your previous e-mail, but I haven’t seen it,
Le jeu. 7 avr. 2016 à 13:17, Sylvain Pointeau
a écrit :
>
>
> On Thu, Apr 7, 2016 at 11:23 AM, Milian Wolff
> wrote:
>
>> On Thursday, April 7, 2016 9:38:01 AM CEST Sylvain Pointeau wrote:
>> > Hello,
>> >
>> > Do you have any idea how to use WebSocket or WebChannel on iOS?
>> > Should I conclud
On Thursday, April 7, 2016 9:38:01 AM CEST Sylvain Pointeau wrote:
> Hello,
>
> Do you have any idea how to use WebSocket or WebChannel on iOS?
> Should I conclude that we cannot do hybrid apps with Qt on iOS (works on
> desktop, don't know about Android)?
I'm not an iOS person but the problem yo
On Thursday, March 31, 2016 4:46:58 PM CEST Allan Sandfeld Jensen wrote:
> On Thursday 31 March 2016, Sylvain Pointeau wrote:
> > On Tue, Mar 29, 2016 at 10:24 AM, Sylvain Pointeau <
> >
> > sylvain.point...@gmail.com> wrote:
> > > On Tue, Mar 29, 2016 at 8:31 AM, Kalinowski Maurice <
> > >
> > >
Any thought on the below? is Qt able on iOS to support the hybrid approach
where the HTML communicates back to the native backend?
On another hand, do you have any example if I would like to develop a web
view backend for iOS that would give a plateform dependant way to
communicate between HTML <-
On Thu, Apr 7, 2016 at 11:23 AM, Milian Wolff wrote:
> On Thursday, April 7, 2016 9:38:01 AM CEST Sylvain Pointeau wrote:
> > Hello,
> >
> > Do you have any idea how to use WebSocket or WebChannel on iOS?
> > Should I conclude that we cannot do hybrid apps with Qt on iOS (works on
> > desktop, do
Hello,
Do you have any idea how to use WebSocket or WebChannel on iOS?
Should I conclude that we cannot do hybrid apps with Qt on iOS (works on
desktop, don't know about Android)?
Best regards,
Sylvain
On Thu, Mar 31, 2016 at 5:43 PM, Sylvain Pointeau <
sylvain.point...@gmail.com> wrote:
>
> I
On Thu, Mar 31, 2016 at 4:53 PM, Milian Wolff wrote:
> On Thursday, March 31, 2016 4:46:58 PM CEST Allan Sandfeld Jensen wrote:
> > On Thursday 31 March 2016, Sylvain Pointeau wrote:
> > > On Tue, Mar 29, 2016 at 10:24 AM, Sylvain Pointeau <
> > >
> > > sylvain.point...@gmail.com> wrote:
> > > >
On Thursday 31 March 2016, Sylvain Pointeau wrote:
> On Tue, Mar 29, 2016 at 10:24 AM, Sylvain Pointeau <
>
> sylvain.point...@gmail.com> wrote:
> > On Tue, Mar 29, 2016 at 8:31 AM, Kalinowski Maurice <
> >
> > maurice.kalinow...@theqtcompany.com> wrote:
> >> > QtWebView has a QtWebEngine backend
On Tue, Mar 29, 2016 at 10:24 AM, Sylvain Pointeau <
sylvain.point...@gmail.com> wrote:
> On Tue, Mar 29, 2016 at 8:31 AM, Kalinowski Maurice <
> maurice.kalinow...@theqtcompany.com> wrote:
>
>> > QtWebView has a QtWebEngine backend, and that should be available on
>> Windows.
>>
>> For UWP/WinRT
On Tue, Mar 29, 2016 at 8:31 AM, Kalinowski Maurice <
maurice.kalinow...@theqtcompany.com> wrote:
>
> > QtWebView has a QtWebEngine backend, and that should be available on
> Windows.
>
> For UWP/WinRT there is a platform specific implementation loading Edge
> into your application. For classic de
> QtWebView has a QtWebEngine backend, and that should be available on Windows.
For UWP/WinRT there is a platform specific implementation loading Edge into
your application. For classic desktop applications you can use Qt Webengine as
Alan described.
Maurice
>Le dimanche 27 mars 2016, Allan Sandfeld Jensen a écrit
:
>
> On Sunday 27 March 2016, Sylvain Pointeau wrote:
> > please could you confirm if qtwebchannel works with qtwebview?
> > if yes, would you have some exemple to show how it works in qml?
>
> It does work, but there is no automatic integr
Le dimanche 27 mars 2016, Allan Sandfeld Jensen a écrit :
> On Sunday 27 March 2016, Sylvain Pointeau wrote:
> > please could you confirm if qtwebchannel works with qtwebview?
> > if yes, would you have some exemple to show how it works in qml?
>
> It does work, but there is no automatic integrat
On Sunday 27 March 2016, Sylvain Pointeau wrote:
> hello,
>
> please could you confirm if qtwebchannel works with qtwebview?
> if yes, would you have some exemple to show how it works in qml?
>
> addtionally, does qtwebview exist for windows 10?
>
It does work, but there is no automatic integrat
hello,
please could you confirm if qtwebchannel works with qtwebview?
if yes, would you have some exemple to show how it works in qml?
addtionally, does qtwebview exist for windows 10?
Best regards,
Sylvain
___
Interest mailing list
Interest@qt-project
44 matches
Mail list logo