Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-295

VS Addin not adding rules for moc generated files to be compiled and linked

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 1.1.6
    • 1.1.6
    • General
    • None
    • Windows 7, VS 2005 SP1, full windows update
    • a519f9ed4ee5342e54b6ca132f3f951a96892f21

    Description

      I just updated my machine to Windows 7
      Installed Qt 4.6 and the latest VS addin
      Have VS 2005 and all the windows updates installed

      Was previously using Qt 4.5.3 and the VS Integration (not addin)

      With the addin, when I add a Q_OBJECT declaration to an existing class, it does not add the entries to the project so that moc files get compiled and linked in. Same if I add an existing file to a project (with a qt class in it).

      This worked fine with the VS integration.
      The VS Addin also works fine on newly created projects.
      VS Integration 1.4.1 also works fine with our project and qt4.6

      I tried explicitly converting the project to a Qt Addin project but get the error attached
      Also attached the project file, obviously you can't open it because of all the missing dependencies, but maybe you can spot something in the xml

      Attachments

        1. restore.vcproj
          88 kB
        2. vsaddinerror.png
          vsaddinerror.png
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            mkrus Mike Krus
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes