Re: [SailfishDevel] QtWebKit QWebView

2014-01-24 Thread Hannes Rantzsch
Hey,

no, unfortunately I didn't get it working. Had no time for further
fiddling around yet.
Yeah, XMLHttpRequest looked nice to me too first. But the page I want
does not offer anything for that. Just plain html.

I would still like to get QWebFrame working, as Aaron suggested. Maybe
now someone has an idea what kind of configurations are needed to get it in?

BR,
Hannes


On 01/24/2014 06:43 PM, Samuli Silvius wrote:
> Hi,
>
> Di you get this working? I would need very same functionality (getting
> webpage content, as dom to traversal). It feel strange to me that WebView
> (SilicaWebView) does not provide access to webpage content? Maybe it has
> reasons, I don't know as very new to mobile apps..
> I have also tried to find solution by using "XMLHttpRequest" javascript
> way, but did not yet find any. I would like to keep my code purely on
> QML/Javascript but in this case it's ok to have also C++ solution. I have
> done a lot C++ but so many years back and certainly not mobile platforms.
>
> -Samuli
>
>
> 2014/1/21 Hannes Rantzsch 
>
>> Hi Aaron, thank you for your answer.
>>
>> I tried QWebFrame, but it says incomplete type. Apparently QWebFrame is
>> only forward declared in QWebElement (which is available, but on it's
>> own of no use I guess). Or am I simply missing some #include?
>>
>> Any ideas?
>>
>>
>> Thanks,
>>
>> Hannes
>>
>>
>> On 01/21/2014 02:37 AM, Aaron McCarthy wrote:
>>> Hi,
>>>
>>> On Mon, 20 Jan 2014 23:27:02 Hannes Rantzsch wrote:
>>>> I'm trying to get the content of a website. Since SilicaWebView doesn't
>>>> seem to provide this, I want to write a C++ class that does. QWebView
>>>> from QtWebKit should be able to do this (this example is actually
>>>> perfect:
>>>>
>> http://qt-project.org/doc/qt-5/qtwebkitexamples-webkitwidgets-domtraversal-e
>>>> xample.html).
>>>>
>>>> However, I cannot include QWebView (no such file [...]) and including
>>>> "QtWebKit/QtWebKit" does not give me the QWebView either.
>>>>
>>>> I did add "QT += webkit" to my .pro-file.
>>>>
>>>> What am I missing?
>>> QWebPage is in WebKit widgets.
>>>
>>> QT += webkitwidgets
>>>
>>> But widgets aren't supported.
>>>
>>> If you don't need to display the web page, you can use QWebFrame and
>> follow
>>> the example you linked to from there.
>>>
>>> Cheers,
>>>
>> ___
>> SailfishOS.org Devel mailing list
>>
>
>
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] QtWebKit QWebView

2014-01-20 Thread Hannes Rantzsch
Hi Aaron, thank you for your answer.

I tried QWebFrame, but it says incomplete type. Apparently QWebFrame is
only forward declared in QWebElement (which is available, but on it's
own of no use I guess). Or am I simply missing some #include?

Any ideas?


Thanks,

Hannes


On 01/21/2014 02:37 AM, Aaron McCarthy wrote:
> Hi,
>
> On Mon, 20 Jan 2014 23:27:02 Hannes Rantzsch wrote:
>> I'm trying to get the content of a website. Since SilicaWebView doesn't
>> seem to provide this, I want to write a C++ class that does. QWebView
>> from QtWebKit should be able to do this (this example is actually
>> perfect:
>> http://qt-project.org/doc/qt-5/qtwebkitexamples-webkitwidgets-domtraversal-e
>> xample.html).
>>
>> However, I cannot include QWebView (no such file [...]) and including
>> "QtWebKit/QtWebKit" does not give me the QWebView either.
>>
>> I did add "QT += webkit" to my .pro-file.
>>
>> What am I missing?
> QWebPage is in WebKit widgets.
>
> QT += webkitwidgets
>
> But widgets aren't supported.
>
> If you don't need to display the web page, you can use QWebFrame and follow 
> the example you linked to from there.
>
> Cheers,
>

___
SailfishOS.org Devel mailing list


[SailfishDevel] QtWebKit QWebView

2014-01-20 Thread Hannes Rantzsch
Hi,

I'm trying to get the content of a website. Since SilicaWebView doesn't
seem to provide this, I want to write a C++ class that does. QWebView
from QtWebKit should be able to do this (this example is actually
perfect:
http://qt-project.org/doc/qt-5/qtwebkitexamples-webkitwidgets-domtraversal-example.html).

However, I cannot include QWebView (no such file [...]) and including
"QtWebKit/QtWebKit" does not give me the QWebView either.

I did add "QT += webkit" to my .pro-file.

What am I missing?


Thanks a lot,

Hannes
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Jolla Applications Bug Tracking

2014-01-19 Thread Hannes Rantzsch
Great tip, thanks!
Actually, the issue I wanted to post is even there already :)

Hannes


On 01/19/2014 05:19 PM, Martin Grimme wrote:
> Hi,
>
> 2014/1/19, Hannes Rantzsch :
>> I was wondering if there is a bug tracking system for Jolla applications
>> somewhere.
> You can use https://together.jolla.com for reporting bugs or
> suggestions. This is the official place where the Jolla developers
> look for feedback from the users.
>
>
> Martin
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list


[SailfishDevel] Jolla Applications Bug Tracking

2014-01-19 Thread Hannes Rantzsch
Hi,

I was wondering if there is a bug tracking system for Jolla applications
somewhere.
More precisely, I want to file a (tiny) bug in the Jolla Store. But
neither Mer nor Nemo Bugzilla should be the right place, are they?

Cheers,
Hannes
___
SailfishOS.org Devel mailing list