I'm new to C++ and programming, and trying to work on a little project, using Qt/Qt Creator .
I was using the MinGW compiler, but especially for this project I will need to use the MSVC compiler (since I need QtWebEngineWidgets).
I have Qt 5.8 and I'm using Qt Creator. I downloaded Microsoft Visual Studio 2015 (Community), and also installed wdk and winsdk 2015 (1703 version) from Microsft's website, and configured my kit. It took a while!
Unfortunately, i have an error when I try to run my program: looks impossible to include QtWidgets or QtWebEngineWidgets.
When I changed the kit of my project (from MinGW to MSVC 2015), I tried to run it but I had another error:
Error from the original project
I wanted to avoid it by creating a new Qt empty project, and I just copied/pasted the source code. Now it looks a bit better, but as you can see I can't include QtWebEngineWidgets and QtWidgets.
This is what the compiler says
Note: After I added #include <QApplication> and #include <QPushButton>
in the main, and he's doing the same thing with QApplication but don't say anything about QPushButton.
Any idea about what happend?
Thank you very much