Seems like a win-win-win if this works out. A Canadian company would get some much needed business, most of the world probably feel better with that software arrangement and China could at least plausibily say they're not doing any bad things on the front.
Open source would still be the best but that's another whole ass can of worms.
Joly said there are “active conversations” on how domestic firms might complement new Chinese investment into Canada’s auto sector, including with software developer QNX, which is headquartered in Ottawa and owned by BlackBerry Ltd. On a recent trip to China, Joly met with Chinese auto firms BYD Co. Ltd., the world’s largest producer of EVs, and Chery Automobile Co.