diff options
author | Orkun Tokdemir <orkun.tokdemir@qt.io> | 2023-11-21 10:46:30 +0100 |
---|---|---|
committer | Orkun Tokdemir <orkun.tokdemir@qt.io> | 2024-05-07 21:12:29 +0200 |
commit | 545b84b93c0b84a08c037e7b70deec3400d1f827 (patch) | |
tree | 0d3deef864f3df8294822f82d9e66106329695ec /tests/manual/qdesktopservices/tst_qdesktopservices.cpp | |
parent | 0678a8a00da586e78d464608e83e89b4df589485 (diff) |
This commit introduces a new `qt_add_ui` CMake API to be used instead
of AUTOUIC, due to several hard-to-fix bugs it has.
* Resolves the issue where Ninja required two passes to correctly build
`.ui` files.
* Avoids build folder leakage, in contrast to `AUTOUIC`
* Prevents unnecessary recompilation of unchanged source files when a
`.ui` file is modified with Ninja.
* Since `qt_add_ui` does not scan source files, it provides a faster
build than `AUTOUIC`.
These changes aim to streamline the build process and improve
efficiency when working with `.ui` files.
This addresses the following issues:
https://gitlab.kitware.com/cmake/cmake/-/issues/16776
https://gitlab.kitware.com/cmake/cmake/-/issues/25436
https://gitlab.kitware.com/cmake/cmake/-/issues/25195
Task-number: QTBUG-110369
Fixes: QTBUG-114563
Change-Id: I34cd3df70542becf6e08502f0cbcd1c11eeeadd6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/manual/qdesktopservices/tst_qdesktopservices.cpp')
0 files changed, 0 insertions, 0 deletions