Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt plugin in visual studio 2010
QtWS25 Last Chance

Qt plugin in visual studio 2010

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 5 Posters 20.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    browser90
    wrote on last edited by
    #1

    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]

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      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.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Schubi
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lfdm
          wrote on last edited by
          #4

          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

          Damien LEFEVRE - http://www.lfdm.net

          1 Reply Last reply
          0
          • P Offline
            P Offline
            psi1
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • P Offline
              P Offline
              psi1
              wrote on last edited by
              #6

              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).

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved