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

qt5vsaddin does not properly add new classes to moc output / errors out stating project was not built by qtvs5addin and a QtClass can not be created

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P4: Low
    • None
    • 1.2.1
    • General
    • windows 7, msvc2012, qt5 64-bit build from source without webkit

    Description

      Whenever I add a new class, if I add just a c++ class and derive from QObject no equivalent instructions to invoke moc are generated, causing compilation failure. I am unsure off-hand if that's usual behavior or not, however, when I attempt to add a 'QtClass' under qt5 types in the add class dialog underneath the inputs in the dialog box there is a red error message informing me that the project was not created by the qt5vsaddin tool and thus it cannot add new QtClasses.

      The project is a 64-bit target, finagled into compiling by doing the conversion to qmake and back (attempted as both project types) process I outlined in the other bug I filed concerning the add-in and 64-bit targets (I don't have the bug number off-hand), so it is at least possible this is a manifestation of the other problem and an improper initialization by the conversion back and forth.

      Attachments

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

        Activity

          People

            mecfc Miguel Costa
            jnferguson justin
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes