13

Added QT += network webkit and I tried just QT += webkit to the .pro solution file and ran qmake from inside the QtCreator and got this error:

error: Unknown module(s) in QT: webkit

I really need to make use of these includes:

#include <QWebView>
#include <QUrl>

Any ideas?

Sebastian Mach
  • 38,570
  • 8
  • 95
  • 130
Kal
  • 2,239
  • 6
  • 36
  • 74

1 Answers1

15

If you say you installed the beta version I suppose you installed Qt version 5. In that case webkit module does not exist anymore. You need webkitwidgets:

QT += webkitwidgets

That will add the module needed to use QWebView. QUrl is in the core module, so you don't need the network module.

Luca Carlon
  • 9,546
  • 13
  • 59
  • 91