PDA

View Full Version : QWebView: No such file or directory



Chocolayte
27th April 2014, 02:10
Hello !

I'm french and my english is not very good, sorry.
I want use QWebView in my project, but i have this message when i compile : QWebView: No such file or directory

In my file.pro, i added
QT += webkit
QT += webkitwidgets
QT += qtwebkitwidgets

and

LIBS += QtWebKit4.dll \
QtNetwork4.dll
(i downloaded these libraries)

and exec qmake. But with #include <QtWebKit> or <QtWebKitWidgets/QWebView> in my file.h , this error appears.

https://gist.github.com/anonymous/11334547
https://gist.github.com/anonymous/11334558

Do you have an idea ? I tried lots of solutions but the problem persists. Thanks you !

Qt Creator 2.8.0
Based on Qt 4.8.5 (GCC 4.7.2 20121109 (Red Hat 4.7.2-8), 64 bit)
Fedora 18

Chocolayte
27th April 2014, 11:56
Hello !

I installed the package qtwebkit-devel-2.3.3-1.fc18.x86_64.rpm and it's okay. This problem is solved !