Unsolved Error when I try to develop Qt Widget Application
-
Hello,
I have the following error when I try to build with MSVC2017. Any Idea why?
i have installed Windows SDKs and MSVC2017 installed.
However, when i try to use MINGW to compile and run the program, it works perfectly fine.
-
Hi @Stevendragoes,
that looks like a code model error.
Can you actually compile the program?
Regards
-
Hello @aha_1980
I can compile if I were to use MinGW to build and run the program as per normal.
However, when I change my Kit to Destop Qt5.12.6 MSVC2017 32bit. the above error appears.
I just want to find out what is the issue here with the MSVC part. -
Hi, did you install Qt first and then later installed MSVC2017?
-
Hi @hskoglund Yes. I install QT First then installed MSVC2017. Was that the problem?
-
Yes, I think so, best is to first install all the compilers you want on your PC, then after that install Qt, so that Qt's installer will detect what compilers are present and configure Qt correctly.