You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, April 11th 2012, 7:24pm

QWebView Url Redirection Problem

Hi everybody,

I'm programming an application that needs to connect gmail & msn servers to receive those contacts.

Loading gmail into QWebview is OK. But loading for MSN is not! When I attempt to load the following link;

http://192.168.20.44:8080/thirdpartyconn…om&action=oauth


it doesn't load the page!!


I also handle ssl issues and suspect qwebview couldn't handle such redirection.


Any ideas??


PS: I use Qt 4.4(It's sort of obsolete but that's what I have. Sorry for this.)

2

Wednesday, April 11th 2012, 7:26pm

do you know where 192.168.20.44 is? I'll tell you - no where on the internet ;)
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

3

Wednesday, April 11th 2012, 7:36pm

You can open this page through your web browser by copy-paste.

That's not the problem I suppose. What you think?

4

Wednesday, April 11th 2012, 7:39pm

I think I'm not letting any extenal website get to my 192.168... that I dont want to.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

5

Wednesday, April 11th 2012, 7:57pm

I understand your point but why it's working from the browser, but not from QWebView?

Did you try it? I use Qt 4.4. Maybe that's the reason?

6

Wednesday, April 11th 2012, 8:20pm

I maybe mistold the situation, actually problem is not with the link I previously provided.


this link is redirected right? But the redirected link could not be opened and status code returns 0.

7

Wednesday, April 11th 2012, 10:56pm