Errors when using qt-vs addins
Unsolved
Qt Creator and other tools
-
I'm using visual studio 2010 's addin for qt
after creating a qt quick application project (just a simple hello world project) and running it, i got the following errors
All the errors are in the qglobal.h file, and it says they are syntax errors.
I've clicked the needed checkboxes in "Qt Project Settings-Qt Modules" and added the lib paths 、include paths.
couldn't find other solution on the Internet, does anyone know how to fix this? -
@xujingwei said in Errors when using qt-vs addins:
visual studio 2010
This is too old.
From Qt 5.7 onwards, you need a compiler that supports C++11.
I suggest you install
- Visual Studio 2019: https://visualstudio.microsoft.com/downloads/
- Qt VS Tools for VS 2019: https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools2019
- Qt 5.13.0 for MSVC 2017 (this is compatible with Visual Studio 2019)