Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 KDAB#756
- Loading branch information