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

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



    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Incomplete
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: General
    • Environment:
      windows 7, msvc2012, qt5 64-bit build from source without webkit


      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.


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



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


              • Created:

                Gerrit Reviews

                There are no open Gerrit changes