Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt plugin in visual studio 2010
browser90 last edited by
I've just installed the plugin, everything works fine except that visual studio underlines every statement of QT with red so it's just like it is a syntax problem.
Is there a way to let Visual studio recognize Qt syntax as good?
[Edit: Fixed link; mlong]
koahnig last edited by
Assuming that you are using the "vsaddin from here":http://releases.qt-project.org/vsaddin/qt-vs-addin-1.1.10.exe there should be no particular reason why vs shows a syntax problem. I am using vsaddin with vs2005 for a couple of years and do not see this problem.
Do you have the path and environment settings up-to-date? QTDIR for instance? Also under Qt settings you may need to specify an installed version of Qt.
Schubi last edited by
I had the same problem. you have to set the PATH variable of your PC to D:\Qt\4.8.2\bin and the QTDIR to D:\Qt\4.8.2 after that it should work
lfdm last edited by
This is due to intellisense not knowing the location of the Qt libraries. You have to add the qt path of all at module folders because intellisense will not scan the main qt folder recursively.
I wrote a post on it a while back with my setup: http://blog.lfdm.net/index.php/2012/02/07/64-qt-setup-intellisense
psi1 last edited by
Is the plug-in no longer available?
The Nokia download link is dead now and the products page on qt.digia.com point to a Try/Buy product that seems to include the Qt plug-in for VS2010.
Basically I just wanted to build an old Qt app under VS2010 and tried the "qmake -tp vc" to generate a VS2010 project - it doesn't.
psi1 last edited by
Oops! I found it! Someone hinted towards somewhere in Googlespace, it's in download.qt-project.org and I downloaded the 2014 code. I'll check it out. I just have to setup the parameters for my Qt Creator installation (I have VS2010 Pro and VS2013 Express, so I'll have to point to the VS2010 version).