Introduction to Qt WebEngine
In this example project, we will explore the basic features of the web engine module in Qt and try building a simple working web browser. Since Qt 5.6, Qt's WebKit module has been deprecated and replaced by the WebEngine module, which is based on Google's Chromium engine. Note that when this chapter was written, WebEngine was still heavily under development and may be subject to changes in the near future.
How to do it…
First, let's set up our web engine project:
First, you are required to download and install Microsoft Visual Studio if you do not have it installed on your computer. This is because at the moment, Qt's WebEngine module only works with the Visual C++ compiler and not others, such as MinGW or Clang. This might change in the future, but it all depends on whether Google wants to make their Chromium engine support other compilers or not. Meanwhile, you can download the latest Visual Studio from here: https://www.visualstudio.com.
At the same time, you...