• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTOUIC_OPTIONS
2---------------
3
4Additional options for ``uic`` when using :prop_tgt:`AUTOUIC`
5
6This property holds additional command line options
7which will be used when ``uic`` is executed during the build via
8:prop_tgt:`AUTOUIC`, i.e. it is equivalent to the optional ``OPTIONS``
9argument of the :module:`qt4_wrap_ui() <FindQt4>` macro.
10
11By default it is empty.
12
13The options set on the ``.ui`` source file may override
14:prop_tgt:`AUTOUIC_OPTIONS` set on the target.
15
16EXAMPLE
17^^^^^^^
18
19.. code-block:: cmake
20
21  # ...
22  set_property(SOURCE widget.ui PROPERTY AUTOUIC_OPTIONS "--no-protection")
23  # ...
24