August 30, 2010

jarim jarim
Lab Rat
4 posts

WebKit wigdet in Qt Creator

 

Hi

I am trying to do a simple web kit app using Qt Creator, but I can not find QWebKit widget from the forms editor menus. I think it should be under Display Widgets separator? I have Mac OS X version of QT Creator, Qt Creator 2.0.0, Based on Qt 4.7.0 (64 bit), Built on Jun 18 2010 at 11:02:11, From revision 1c0f52a091.

— Jari

9 replies

August 30, 2010

Ivan Čukić Ivan Čukić
Lab Rat
120 posts

The name of the widget is QWebView.

Cheers

 Signature 

Ivan Čukić | ivan.cukic(at)kde.org | KDE e.V.
Qt Ambassador

August 31, 2010

jarim jarim
Lab Rat
4 posts

Yes, but how to create this in Qt Creator .ui form? I can do it in code only but it would be cool to design your forms graphically. At least in my QT Creator there is no such item as QWebView (there is for example Graphics View i.e QGraphicsView widget available…).

— Jari

August 31, 2010

Ivan Čukić Ivan Čukić
Lab Rat
120 posts

It should be in the same group as QGraphicsView (that is Display Widgets) and it would be the last one with a bluish globe icon.

 Signature 

Ivan Čukić | ivan.cukic(at)kde.org | KDE e.V.
Qt Ambassador

August 31, 2010

jarim jarim
Lab Rat
4 posts

It is not there. Do you have a Mac OSX version of Qt Creator (latest release 2.0.0)?

August 31, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3125 posts

jarim: Which version of Qt are you using and how did you build it? Do you have webkit support enabled?

August 31, 2010

jarim jarim
Lab Rat
4 posts

I downloaded the latest build from qt.nokia.com for Mac OSX. It is

Qt Creator 2.0.0
Based on Qt 4.7.0 (64 bit)

Built on Jun 18 2010 at 11:02:11

From revision 1c0f52a091

Copyright 2008-2010 Nokia Corporation. All rights reserved.

WebKit applications can be build by writing all the code by hand. Only the ui forms does not have the WebView widget.

— Jari

September 1, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3125 posts

I see you already filed a bugreport [bugreports.qt.nokia.com]. Good:-)

Looks like we we have not yet been able to trigger this issue. So if somebody else is having it, please comment and vote on that bug! Thanks.

September 1, 2010

jarim jarim
Lab Rat
4 posts

I just found that there is Qt Creator 2.0.1 for Mac OSX available and the bug has already been fixed on that version.

September 1, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3125 posts

Even better:-)

 
  ‹‹ Eclipse Integration 1.6.1: qtcppdesigner causes org.eclipse.swt.SWTException: Invalid thread access      Qt Creator 2.0.1 performance ››

You must log in to post a reply. Not a member yet? Register here!