I am developing in QT 4.6/4.7 targeting Nokia N8 devices.
I have written a news reader application that displays a list of news, music, apps and games, and allows the user to launch into a QWebview to purchase content that can then be downloaded to the device
Now the server side handles matching up the user to their billing account, but what that means is there are a lot of redirects involved from the initial http request.
Now if I launch to the native browser from the application, then the server side billing object is created and I can view and purchase content.
However this same url doesn’t work if I launch it from a QWebview, in fact all I get back is an empty HTML document.
Now the form of the request is something like this (I can't publish actual url’s sorry)
I can also do it like this
Which should create a billing session and then pass that to www.musicsite.com.
If I manually type the second url into the default web browser then it will create the session id and download the shop web page.
I have created a specialised implementation of the QWebpage, where by I override the user agent, and I am also adding additional header information to the url prior to sending it.
But I am really struggling to get the QWebpage to display this data
As anyone attempted anything similar?
Can anyone offer any advice or assistance?
Thanks in advance
PS sorry for the vague post