Using Web technologies with Open Source Qt Creator
-
What web technologies ?
-
So you are building a QtWebEngine or QtWebKit based application ?
-
@Konstantin-Tokarev made a reboot of QtWebKit so it has been update however you have to build it yourself. You have the choice.
-
I'm new to Qt Creator so I'm not sure what module I need to use. I have Qt Creator 4.8.1 downloaded (the open source version). From what I've read, I need to use QtWebEngine, because it replaced QtWebKit.
@illia said in Using Web technologies with Open Source Qt Creator:
I'm new to Qt Creator so I'm not sure what module I need to use. I have Qt Creator 4.8.1 downloaded (the open source version).
Can you describe how you downloaded and installed this?
Note:
- Qt Creator is an Integrated Development Environment (IDE)
- Qt is a C++ library (C++ plus other languages, to be precise. But it's mainly C++)
You need to install the Qt libraries and a compiler to get started.
-
I downloaded it from the Qt main website (the open source version).
https://www.qt.io/downloadI installed it as the instruction told.
I can use Qt Creator normally, the problem comes when I try to use web technologies.
-
I downloaded it from the Qt main website (the open source version).
https://www.qt.io/downloadI installed it as the instruction told.
I can use Qt Creator normally, the problem comes when I try to use web technologies.
-
I downloaded it from the Qt main website (the open source version).
https://www.qt.io/downloadI installed it as the instruction told.
I can use Qt Creator normally, the problem comes when I try to use web technologies.
@illia said in Using Web technologies with Open Source Qt Creator:
I downloaded it from the Qt main website (the open source version).
https://www.qt.io/downloadI installed it as the instruction told.
The installer contains many components. Which ones did you select?
You probably want to select these 3 things, at least:
- Tools > Qt Creator
- Qt 5.12.1 > MSVC 2017 64-bit
- Qt 5.12.1 > Qt WebEngine
No. #1 is selected by default, but the others are not.
You also need to install Visual Studio 2017 directly from Microsoft. Qt WebEngine is not compatible with the MinGW compiler.
As @SGaist said, it is still possible to use Qt WebKit. However, the setup is harder.