Project ERROR: Unknown module(s) in QT: webkitwidgets
You need to install the webkitwidgets library.
On Ubuntu, try this in a terminal:
sudo apt-get install libqt5webkit5-dev
On Fedora, the package has a different name, thus try:
sudo apt-get install qt5-qtwebkit-devel
Or on Fedora, via dnf:
sudo dnf install qt5-qtwebkit-devel
Project ERROR: Unknown module(s) in QT: webkitwidgets issues
So here is how I have fixed it:
- Copy the contents of the archive
qtwebkit_tp4_qt57_msvc2015_x86.zip
toC:\Qt\5.7\msvc2015
; - Include
webkitwidgets
to.pro
file; - Include
#include <QtWebKitWidgets/QWebView>
- Initialized the
QWebView *mapBrowserView;
object;
Now it's all compile and work.
Unknown module(s) in QT: webkit
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.
Unknown module QT: webkit
Starting from Qt 5.6 Qt WebKit was removed:
https://wiki.qt.io/New_Features_in_Qt_5.6
With Qt 5.6 the following modules are no longer part of the release packages, but users can still build them from source: Qt WebKit
So if you still want to use WebKit you need 5.5 or earlier or you need to build your own version from sources.
Related Topics
Why Sizeof Int Is Wrong, While Sizeof(Int) Is Right
Is 1.0 a Valid Output from Std::Generate_Canonical
Is Returning References of Member Variables Bad Practice
Avx2: Computing Dot Product of 512 Float Arrays
How to Load a Custom Binary Resource in a Vc++ Static Library as Part of a Dll
How to "Normalize" a Pathname Using Boost::Filesystem
Return Statement in Ternary Operator C++
Gcc -Wuninitialized/-Wmaybe-Uninitialized Issues
Is There an Equivalent to Winapi's Max_Path Under Linux/Unix
How Do Memory_Order_Seq_Cst and Memory_Order_Acq_Rel Differ
What's the Easiest Way to Generate Xml in C++
How to Build Boost 1.64 in 64 Bits