Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63442

qt5_wrap_ui() and qt5_add_resources() should set SKIP_AUTOMOC properties

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.4
    • None
    • Build System: CMake
    • None
    • b71b7461b0b95bbf02c215019381b19e4070e07c

    Description

      The upcoming CMake 3.10 can generate warnings if projects combine AUTOMOC with qt5_wrap_ui().

      See here for a discussion:

      https://cmake.org/pipermail/cmake-developers/2017-September/030374.html

       

      The suggestion is that the qt5_wrap_ui() and qt5_add_resources() CMake functions provided by Qt be modified to set the SKIP_AUTOMOC property on the generated files.

       

      Attachments

        For Gerrit Dashboard: QTBUG-63442
        # Subject Branch Project Status CR V

        Activity

          People

            krf Kevin Funk
            cjstimpson Clinton Stimpson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes