Quebec has a different pool of immigration than the rest of Canada because Quebec want to preserve the french language. So most of its immigration come from place were people speak french.
Lebanese were always in Quebec, but since the 2000s many arabs from North Africa came in, and now we could say that the biggest arab population in Quebec are algerians and morrocans, with lebanese from the middle east.
The somalis don’t have a huge presence in Quebec
I know almost all Moroccans speak or understand French. Spanish is also widespread.