I have an annoying issue with QT (version 5.12.1) and I suspect it's because I have a few different versions of Visual Studio also active on my machine. Note that I'm using windows 10 and working with QT creator. The issue is as follows:
When I create a new empty console project, I get the following general message in the IDE:
Running Windows Runtime device detection. No winrtrunner.exe found. C:/Qt/Qt5.12.1/5.12.1/mingw73_64/mkspecs/features/toolchain.prf(76): Variable QMAKE_CXX.COMPILER_MACROS is not defined. Project ERROR: failed to parse default search paths from compiler output Error while parsing file C:\Qt\Test\Proj\Proj.pro. Giving up.
When making a console project, QT will by default, add main.cpp. However I can't add any new source code files (those options are greyed out) and I can't actually access main.cpp.
But if I build the project (via the IDE) it will make a the .o and .exe files, which are meaningless because I've not been able to add anything to the source code. Then, I close QT, open it, and it all works as it should.
I'm using MinGW, however QT can still autodetect the MSVC compilers and debuggers. That shouldn't cause any problems because the default build kit specifies all the MinGW stuff.
Any ideas what the reason could be? All the online searching I've done points towards bugs being logged and fixed for QT5.9, but no clear solution for my problem.