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

qt5_wrap_ui() and qt5_add_resources() should set SKIP_AUTOMOC properties

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.9.4
    • Component/s: Build System: CMake
    • Labels:
      None
    • Commits:
      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

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

          Activity

            People

            Assignee:
            krf Kevin Funk
            Reporter:
            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