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

Visual Studio 2010 generates incomplete build rules

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.1.7
    • 1.1.6
    • General
    • None
    • Windows 7, Visual Studio 2010, Qt Add-In 1.1.6
    • 811d8e41e23071b9e49e303d0bdda83789a114a3

    Description

      There are two problems:

      1. Add a new Qt4Class to existing project by "Qt Class Wizard" or simply add existing qt header file

      The Add-In generates following command line:
      "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp"

      No Define Macros (-D) and Include Directories (-I) are included as in early versions.

      2. Add a Qt source (test.cpp) file that contains a moc file include (#include "test.moc")

      The Add-In configures the source file to "Custom Build Tool" without Command Line.
      Result: No Object code will be generated

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            ffgruni Thomas Grunwald
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes