How does QF status accumulate? Like BA with points or miles/kms only?
How important is the YVR, NYC, SFO order? If flexible and you want most miles, I'd advise NYC first via YYZ, backtrack to YVR (JFK-YVR on CX 888/9) as only only one transcontinental segment is allowed. Go to SFO via DFW. SFO-LHR via LAX (or if you want, BA SFO-LHR direct).
Here's my recommended itinerary if with points per flight:
PER-MEL-SYD-HNL-YYZ on QF (think you'll need the red eye to MEL)
YYZ-LGA on AA (think AA still does this route)
JFK-YVR on CX (leaves JFK in the evening, gets to YVR late evening)
YVR-DFW-SFO on AA
SFO-LAX/DFW-LON on AA or SFO-LHR on BA
LHR-SIN on BA or QF
SIN-HKG on QF
HKG-SIN-ADL-PER on QF (if possible)
You still have a few excess sectors in Asia and might want to consider HKG-NRT-HKG on a CX day trip. If you have time in the U.K., consider doing LHR-Cairo-LHR (it's in "Europe/mid-east") as well as some mileage run sector (LHR-HEL-LHR on AY?)