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

In Qt Project Settings the MocDirectory cannot constist of ".\GeneratedFiles\$(ConfigurationName)-$(PlatformName)"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 1.1.8
    • 1.1.6, 1.1.7
    • General
    • None
    • VS 2005, VS2010
    • 8ae5153de525dae6762a5eabe9ddf334eb70b451

      In the Qt Project Settings, when I use a MocDirectory that contains the path ".\GeneratedFiles\$(ConfigurationName)-$(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".

      When I am in Debug build mode, this happens to the moc_file.cpp that is listed in the Solution Explorer Filter "Generated Files > Debug_Win32".

      The result are linking errors, due to not linking the moc_file.cpp.

      It happens with Qt Visual Studio Plugin 1.1.4 in VS 2005, and with plugin 1.1.7 in VS 2005 and VS 2010.

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

            owolff Oliver Wolff
            bitjuggler Claus Scheiblauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes