AUTOUIC_OPTIONS.rst 603 Bytes
Newer Older
1
2
3
AUTOUIC_OPTIONS
---------------

4
Additional options for ``uic`` when using :prop_tgt:`AUTOUIC`
5
6

This property holds additional command line options
7
8
9
which will be used when ``uic`` is executed during the build via
:prop_tgt:`AUTOUIC`, i.e. it is equivalent to the optional ``OPTIONS``
argument of the :module:`qt4_wrap_ui() <FindQt4>` macro.
10
11
12

By default it is empty.

13
14
15
16
17
18
19
20
21
22
23
The options set on the ``.ui`` source file may override
:prop_tgt:`AUTOUIC_OPTIONS` set on the target.

EXAMPLE
^^^^^^^

.. code-block:: cmake

  # ...
  set_property(SOURCE widget.ui PROPERTY AUTOUIC_OPTIONS "--no-protection")
  # ...