Where No One Has Gone Before - S1-E6
Visible crew/equipment: Near the start, just as Riker says "You have all the time you need.", the engine consultant stops and turns around. As he does so, look above his head and you can see a microphone hanging down. The camera quickly adjusts so it's not visible any more. [Not visible in the remastered Blu-ray version]. (00:06:00)
Answer: He brought the Borg to the Alpha Quadrant and showed them that it was full of worlds waiting to be assimilated. Guinan's homeworld was their first stop, and they assimilated everyone and took over the planet, leaving The Survivors of her race without a home. Q is ultimately responsible for that.
Captain Defenestrator
By the time Q takes the Enterprise to meet the Borg, Guinan already knew who they were and they had already destroyed her world. Therefore the above answer can not be right. I believe Guinan is much more than she appears, and her people have had encounters with the Q in the past. It is these interactions, that obviously were not pleasant, that fuels her distrust.
oldbaldyone
That's what the above answer is saying. Q brought the Borg to the Alpha Quadrant (not Earth) and the Borg destroyed Guinan's home world in the late 2200's, which is why she hates Q. Although she met Q in 2160 and they both saw each other as enemies right away.
Bishop73