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

Support additional moc macros

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • 3.2.0
    • None
    • General
    • None
    • 861ecf98f (dev)

    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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes