-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
thanks a lot,it works. henry cui 2013.04.21 - ---------------------------------------------------------------------- *From*: Thiago Macieira <thiago.macie...@intel.com> *Sent*: Sat, 20 Apr 2013 09:47 -0700 *To*: interest@qt-project.org *Cc*: *Subject*: Re: [Interest] error with building project that contain webview > 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 > > > > _______________________________________________ Interest mailing > list Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRc/JkAAoJEOgBW4v6DULWct4IAJXyVuoF5fOCmejMYrBzcQz1 VntH6vxlhF7EEHD7bxFL7O1f4Zp/z8t6ckVfVXnu4nt0hwJ+xd0ykyPZK0G/Dn8W N4poBVINdYvkb0Ft3mmLpypSye+O+yWGJnllVrWWopezdmp+qkmxcjQdhPPf9qrq dvkCQDZhUiYcCrGWt7c6jPoErYz2jew0XyEw/AWU5TogtONBzjD3GwZfLEweEcQj /zDMWNnMr3JPzaV73CpBV2+cWJXMUqDp8Nwxo47rGiBBBepk/tqFSUINxN0qAN48 8FIDzVICkK159VEHjGC/yzKav9pEhGlR10XwAg9sQ9sl0076MkXwcNUctVgebbA= =CK5L -----END PGP SIGNATURE----- _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest