Hi All.
I have instaled qt5 RC1 in my Debian Sid. I have problems with QWebView. the widget don’t appear in qt-creator 2.6.1 and when I try to compile I have an error:
This is the error:
/home/arcnexus/project/terra/frmanadirmedicamento.cpp:-1: error: undefined reference to `QWebView::setHtml(QString const&, QUrl const&)’
I have Qt += webkit in my .pro file and the project works fine in Qt 4.8.2.
Someone know about this? Thanks for your help.
When we are one, we win
4 replies
December 17, 2012
ezerek ezerek
Lab Rat
4 posts
link
the webkit module has been renamed in QT5. use ‘webkitwidgets’ instead of ‘webkit’.
Qt5中webkit模块已经更改为webkitwidgets
December 17, 2012
ArcNexus ArcNexus
Lab Rat
46 posts
link
ezerek wrote:
the webkit module has been renamed in QT5. use ‘webkitwidgets’ instead of ‘webkit’.
Yes, it works fine.
Thanks.
When we are one, we win
December 28, 2012
Zain Zain
Lab Rat
103 posts
link
I am also unable to see the qwebview control in Qt creator 2.6.1 .
can any one tell me what should I do?
Thanks
December 28, 2012
ArcNexus ArcNexus
Lab Rat
46 posts
link
Temporaly I have solved this using Qt-designer outside Qt-Creator in Linux for make forms with this control. But, i think the best solution is compile qWebQit. After compile you need copy .so (linux) or .dll (windows) into qt-creator-designer plugins folder.
After I will to compile and if it works I post the solution step by step. (in Linux; i have only linux in my pc)