AUTOUIC_OPTIONS.rst 603 B

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