C1083: Cannot open include file: 'QWebView': No such file or directory
-
wrote on 13 May 2017, 11:54 last edited by Panoss
I have included webkitwidgets and webkit in my .pro file.
But still I get the error mentioned in the title when I use:#include <QWebView>
How can I fix this?
(Qt Creator 2.7.0 based on Qt 5.0.2 32bit, Win xp) -
After you modify .pro file re-run qmake (menu Build-> Run qmake).
Oh, and make sure you're using Qt version that still has QWebView. It was deprecated and then removed in later versions.Btw. QtCreator 2.7.0 is pretty old. Current version is 4.2.2. Have you thought about upgrading?
-
I have included webkitwidgets and webkit in my .pro file.
But still I get the error mentioned in the title when I use:#include <QWebView>
How can I fix this?
(Qt Creator 2.7.0 based on Qt 5.0.2 32bit, Win xp)@Panoss
If you want to use a newer of Qt, you should check out
https://forum.qt.io/topic/76739/webkit-status-2017Note. You can use a newer Creator even if you stay older Qt.
The version used for building Creator is not related to any version of Qt you have installed and
use to build your apps. -
wrote on 13 May 2017, 12:51 last edited by Panoss
I did: menu Build-> Run qmake and it was fixed!
Thank you guys you were grate help!(I have my reasons I wanna keep this version of Qt)
-
I did: menu Build-> Run qmake and it was fixed!
Thank you guys you were grate help!(I have my reasons I wanna keep this version of Qt)
@Panoss
ok, but you can use a new Creator if u want.
1/5