I'm just starting to use the Qt library. I am trying to compile my first test script with the following heading:
#include <qwebview.h>
However, it will not compile:
g++ main.cpp -o run.main
main.cpp:2:22: error: qwebview.h: No such file or directory
main.cpp: In function ‘int main()’:
main.cpp:10: error: ‘QWebView’ was not declared in this scope
I have libs installed on my Kubuntu Linux machine:
$ locate qwebview
/usr/include/qt4/Qt/qwebview.h
/usr/include/qt4/QtWebKit/qwebview.h
/usr/lib/qt4/plugins/designer/libqwebview.so
I ran ldconfigonce to make sure (I think) that the libraries are visible, but apparently this is not enough.
How to configure my computer so that I can start compiling software using Qt?
source
share