diff options
| author | Kai Köhne <kai.koehne@qt.io> | 2023-11-24 15:45:26 +0100 |
|---|---|---|
| committer | Kai Köhne <kai.koehne@qt.io> | 2023-11-27 20:18:42 +0100 |
| commit | b6b2501e71bf0511ca7ad48a756aa45c46332022 (patch) | |
| tree | c2595c1d0fdd3425768c02b4b2ee65a69794d921 /src/quick/doc/snippets/qml/treeview/qml-customdelegate.qml | |
| parent | 3193911b02424dd0365e03526a4c12ed7888b7ca (diff) | |
CMake: Fix <module>_qmllint for modules without qml files on Windows
If have_qmllint_files is empty, pass a dummy COMMAND to
add_custom_target(), instead of just an empty string. While an
empty string does seem to work on Linux and macOS, it will lead to
an error on Windows:
CreateProcess failed: The system cannot find the file specified.
This was at least the case with CMake version 3.26.0, and ninja
version 1.11.1.
Pick-to: 6.5 6.6
Fixes: QTBUG-115710
Change-Id: Ifb3572d695b836e603572642c8aac8bf5bb8214d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/doc/snippets/qml/treeview/qml-customdelegate.qml')
0 files changed, 0 insertions, 0 deletions
