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

In Qt Project Settings, the MocDirectory cannot constist of simply ".\GeneratedFiles"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.1.8
    • 1.1.7
    • General
    • None
    • VS2005

    Description

      This bug is similar to QTVSADDINGBUG-33 and QTBUG-7288 with an important difference and I wanted to make sure that the fix for #33 also handled the following case:

      In the Qt Project Settings, when I use a MocDirectory that contains JUST the path ".\GeneratedFiles" (no ConfigurationName and no PlatformName) the following will happen:

      When editing a file.cpp that has to be moc'ed, then the moc_file.cpp will be excluded from build, as soon as the changes in the file are saved. In the VS Solution Explorer a STOP sign appears on the moc_file.cpp, and in the Properties of this file (accessed from the Solution Explorer), it says "Excluded From Build: Yes".

      Note that because there are no sub-folder(s) under GeneratedFiles there will be only a single moc'ed .cpp file. No need to do any exclusions whatsoever.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            raffar robf
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes