Code: Select all
DEFINE WINDOW Form_10 ;
AT 100,100;
WIDTH 820 HEIGHT 610
web := QWebView(Form_10:QtObject)
web.Resize( Form_10.Width, Form_10.Height )
web.load(QUrl( "http://google.com" ) )
web.show()
END WINDOW
Moderator: Rathinagiri
Code: Select all
DEFINE WINDOW Form_10 ;
AT 100,100;
WIDTH 820 HEIGHT 610
web := QWebView(Form_10:QtObject)
web.Resize( Form_10.Width, Form_10.Height )
web.load(QUrl( "http://google.com" ) )
web.show()
END WINDOW
Long back, when in Qt 4.5 we decided to drop QtWebKit frommrduck wrote:Pritpal, was this the reason of the #if 0 ?
Since you are working with HMG4, when using OOP syntax, please use OOP syntax in full.... using : instead of . (preprocessore converts . back to : !!!!!) and to be more adherent to c++ style, add () to getters...Ricci wrote:I got it:
Code: Select all
DEFINE WINDOW Form_10 ; AT 100,100; WIDTH 820 HEIGHT 610 web := QWebView(Form_10:QtObject) web.Resize( Form_10.Width, Form_10.Height ) web.load(QUrl( "http://google.com" ) ) web.show() END WINDOW
Code: Select all
DEFINE WINDOW Form_10 ;
AT 100,100;
WIDTH 820 HEIGHT 610
web := QWebView(Form_10:QtObject)
web:Resize( Form_10:Width(), Form_10:Height() )
web:load(QUrl( "http://google.com" ) )
web:show()
END WINDOW
I didn't check, how to enable it ?bedipritpal wrote: Later I included it as a separate lib if someone needs to give it a try.
Probably this question belongs to Harbour developers.mrduck wrote:Thanks Pritpal,
I don't know current support for QtWebKit but I may say that they have just released support for webkit 2 in upcoming Qt...
Since we are at it, what do you think to upper Qt level needed to a more recent one ? 2.7 ? or would we wait 2.8 that should include some good stuff ???
Just include /contrib/hbqt/hbqtwebkit/hbqtwebkit.hbc and keep QtWebKit4.dll along .exe.mrduck wrote: I didn't check, how to enable it ?