Commit e6ee353
committed
qt-build-utils: do not split include paths by space
Before a string such as "-I /path to Qt/ -I /another/path/" would
be created and then split by space. This works when there are no
spaces in the string but in the example here it becomes
`["-I", "/path", "to", "Qt/", "-I", "/another/path/"]`.
Instead we actually want ["-I", "/path to Qt/", "-I", "/another/path/"]
or we can combine the -I and have ["-I/path to Qt/", "-I/another/path/"].
So instead build a vector of include args to give to Command args
instead of splitting the string. Which then resolves having a space
in your Qt or library path.
Closes #7561 parent 43f0013 commit e6ee353
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | | - | |
| 621 | + | |
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
| 628 | + | |
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
637 | | - | |
| 637 | + | |
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| |||
0 commit comments