It's confusing, and it's a duplicate of the `sources` keyword argument, which has always existed.pull/8822/head
parent
1086305715
commit
0fe3dc6571
2 changed files with 21 additions and 2 deletions
@ -0,0 +1,16 @@ |
||||
## Qt.preprocess positional source arguments deprecated |
||||
|
||||
The `qt.preprocess` method currently has this signature: |
||||
`qt.preprocess(name: str | None, *srcs: str)`, this is not a nice signature |
||||
because it's confusing, and there's a `sources` keyword argument that does |
||||
exactly the same thing. Instead of |
||||
```meson |
||||
qt.preprocess(name, list, of, sources) |
||||
``` |
||||
use |
||||
```meson |
||||
qt.preprocess( |
||||
name, |
||||
sources : [list, of , sources], |
||||
) |
||||
``` |
Loading…
Reference in new issue