You are not logged in.

1

Monday, July 14th 2008, 8:19am

webkit open link

Hi all,

I'm trying to use webkit in my application, I can open a website with webview, but when I click the link, nothing happens.

I have tried to override QWebpage::acceptNavigationRequest, but I never got in this function. what's wrong here?

I have tried using QWebView::linkClicked signal, and I've done setLinkDelegationPolicy(QWebPage:DelegateAllLinks) to webpage, but I never got the signal.

any guy please help me?

many thanks,

Leslie

2

Monday, July 14th 2008, 2:48pm

WebKit works for me. Qt 4.4.0, xp. Googled links is opened. Checkout firewall, proxy settings.
Though it is still not finished because does not support plugins (flash of course) and java.
Fighting fire with fire.
Three can keep a secret if two of them are dead.

3

Monday, August 3rd 2009, 6:46pm

RE: webkit open link

Hi all,

I'm trying to use webkit in my application, I can open a website with webview, but when I click the link, nothing happens.

I have tried to override QWebpage::acceptNavigationRequest, but I never got in this function. what's wrong here?

I have tried using QWebView::linkClicked signal, and I've done setLinkDelegationPolicy(QWebPage:DelegateAllLinks) to webpage, but I never got the signal.

any guy please help me?

many thanks,

Leslie
Actualy it work except with form submit !
connect the signal with

Source code

1
connect( view->page(), SIGNAL(linkClicked(const QUrl&)),this, SLOT(OnLinkClicked(const QUrl&)));

u also need to define your slot correctly