Oh!!! Oh!!! Oh!!! I made a theory about this!!!
Okay. Qi'ra's British, right? And who does she talk to at the end of Solo? Darth Maul.
My theory.
Darth Maul had been training her then took her to the Emperor. The Emperor planned on doing the same thing as he did Anakin (manipulating Midi-chlorians to develop him in Shmi basically).
And I have two sides to the next part.
Palpatine's force skips a generation.
Or, Qi'ra has a change of heart and takes Rey's dad with her. He grows up, Qi'ra dies and Rey's dad becomes a nobody. Gets married and becomes a moisture farmer. Has baby Rey, then finds out Palpatine is still looking for him, so he does what he did to Rey, and yeah.
So yeah there's my theory hope that makes sense!!