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

Add-in creates moc file for a file it should not

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.1.10
    • 1.1.9
    • General
    • None
    • WinXp 32bit - VS 2008/2010
      Win7 64bit - VS 2010
    • c1d6552089b98318bc4089befcf663e88fe6d2b2

    Description

      Normally, the Add-in creates a moc file when ever you put an include like #include "moc_xxx.cpp" in a source file. It does not check, whether or not the include occurs inside a string like: QString = "#include \"moc_xxx.cpp\""

      I have written a application which generates some code automatically. When I edit the source file of this application every time I save the source file the Add-in creates a moc file for this source file - which is just kind of annoying in VS 2008. With VS 2010 there is a real problem because VS 2010 would not load a project which contains the same file more than once...

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owolff Oliver Wolff
            michaelernst Michael Ernst
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes