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

Support additional moc macros

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • General
    • None

    Description

      Sometimes, a user might want to wrap Qt marcos like Q_OBJECT into their own. In those cases, moc won't run on the file, as the custom macro is not recognized.

       

      In cmake, we can set AUTOMOC_MACRO_NAMES  to specify that moc should run automatically on files containing any of the listed macros there. It might make sense to add such a feature to the Add-In, too.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTVSADDINBUG-905
          # Subject Branch Project Status CR V

          Activity

            People

              ali.demiralp Ali Can Demiralp
              fabiankosmale Fabian Kosmale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change