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

qt5_wrap_ui() and qt5_add_resources() should set SKIP_AUTOMOC properties

XMLWordPrintable

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

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes