Qt plugin in visual studio 2010
-
wrote on 14 May 2012, 19:02 last edited by
Hi guys,
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.
example "here":http://imageshack.us/photo/my-images/42/testogn.jpg/
Is there a way to let Visual studio recognize Qt syntax as good?
Kind regards,
[Edit: Fixed link; mlong]
-
wrote on 15 May 2012, 07:20 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.
-
wrote on 4 Jun 2012, 10:02 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
-
wrote on 6 Jun 2012, 20:37 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
-
wrote on 4 Aug 2014, 01:19 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.
Thanks,
Psi -
wrote on 4 Aug 2014, 01:41 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).