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

Moc files are not being generated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.1.7
    • 1.1.6
    • General
    • None
    • Windows 7, Visual Studio 2010

    Description

      Qt: 4.7

      When adding the Q_OBJECT macro to a class the VS Add-in attempts to create a file "moc_classname.cpp". However it fails to create it. It shows the file in VS Solution Explorer, but the file doesn't actually exist. This results in the build to fail.

      1>c1xx : fatal error C1083: Cannot open source file: 'GeneratedFiles\Debug\moc_FSDF.cpp': No such file or directory

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            bssldr Jake Lake
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes