cmake/Help/prop_sf/AUTOUIC_OPTIONS.rst

24 lines
603 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
AUTOUIC_OPTIONS
---------------
Additional options for ``uic`` when using :prop_tgt:`AUTOUIC`
This property holds additional command line options
2018-01-26 17:06:56 +01:00
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.
2014-08-03 19:52:23 +02:00
By default it is empty.
2018-01-26 17:06:56 +01:00
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")
# ...