CMake: Use cmake_parse_arguments PARSE_ARGV for custom brush command
Parsing ${ARGN} drops empty list elements, which can shift the
remaining arguments. Use PARSE_ARGV instead.
Skip both positional arguments in the wrappers as well, so that they
don't parse the resource name, and reject unknown arguments in the
implementation.
Pick-to: 6.12
Fixes: QTBUG-149153
Change-Id: I659e2a66378cd84adb30703f37e7c549c81b1ab1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| commit | eec6e4d1d24cc1ae45622da7583a70b96c27e688 |
| parent | 7f463c4b56401e1fe5c18bfb49e349008dec43cb |
| author | Alexandru Croitor <alexandru.croitor@qt.io> |
| committer | Alexandru Croitor <alexandru.croitor@qt.io> |
| commit time | Fri, 14 Aug 2026 12:41:56 +0000 |