path: root/examples/dbus/chat/CMakeLists.txt
diff options
authorAlexandru Croitor <>2019-05-22 15:09:39 +0200
committerAlexandru Croitor <>2019-05-22 14:58:08 +0000
commit0425ee06102410026f436adfd440aa2f0b3efd61 (patch)
tree93e5ebf6c954d76a9ded97f81eb178bd5ece819c /examples/dbus/chat/CMakeLists.txt
parent87bb219a7218b4f6c66bf3d2b237c21cd24b7036 (diff)
Change the default enabled AUTOGEN tools list to contain only moc
Before this patch we enabled AUTOMOC, AUTORCC, AUTOUIC for all targets that did not opt out. Aside from being wasteful from a performance point of view, this also caused issues when trying to build qtimageformats which does not depend on Widgets which is the package that exposes uic. To avoid this, enable only AUTOMOC for all targets by default, and UIC and RCC can be opted in via the ENABLE_AUTOGEN_TOOLS option. To facilitate this some refactoring had to be done, like moving some common setup for all autogen tools into a separate call, and making sure that extend_target understands the autogen options, because some ui files are only added conditionally. Also the conversion script has been adapted to output the ENABLE_AUTOGEN_TOOLS option whenever a .pro file contains at least one FORMS += foo assignment. Note that we don't really use AUTORCC while building Qt, so nothing opts into that at the moment. Task-number: QTBUG-75875 Change-Id: I889c4980e9fb1b74ba361abed4044737f8842ea4 Reviewed-by: Simon Hausmann <>
Diffstat (limited to 'examples/dbus/chat/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions