summaryrefslogtreecommitdiffstats
path: root/Help/prop_sf/SKIP_AUTOUIC.rst
blob: 8c962dbfe80ba9411ca9712c5a4c4b82acc06cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SKIP_AUTOUIC
------------

Exclude the source file from :prop_tgt:`AUTOUIC` processing (for Qt projects).

:prop_sf:`SKIP_AUTOUIC` can be set on C++ header and source files and on
``.ui`` files.

For broader exclusion control see :prop_sf:`SKIP_AUTOGEN`.

EXAMPLE
^^^^^^^

.. code-block:: cmake

  # ...
  set_property(SOURCE file.h PROPERTY SKIP_AUTOUIC ON)
  set_property(SOURCE file.cpp PROPERTY SKIP_AUTOUIC ON)
  set_property(SOURCE widget.ui PROPERTY SKIP_AUTOUIC ON)
  # ...