[Interest] error with building project that contain webview
Thiago Macieira
thiago.macieira at intel.com
Sat Apr 20 18:47:00 CEST 2013
On domingo, 21 de abril de 2013 00.31.46, henry cui wrote:
> hello
> I met a strange question that I create a default project,and adding a
> webview in default UI,and also put "QT += webkit" into project file.and I
> still get error prompts that like these:
> E:\MyDocuments\test\ui_mainwindow.h:42: 错误:undefined reference to
> `_imp___ZN8QWebViewC1EP7QWidget'
> E:\MyDocuments\test\ui_mainwindow.h:45: 错误:undefined reference to
> `_imp___ZN8QWebView6setUrlERK4QUrl'
>
> I was wondering what 's wrong with it,any one could help me.thanks a lot.
If you're using Qt 5, add:
QT += webkitwidgets
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130420/4305901a/attachment.sig>
More information about the Interest
mailing list