I believe the problem is Quebec has a poor economy and figured to lose out economically and in subsequent trade deals if they became independent. Catalonia on the other hand is ~20% of Spain's economy and ~15% of the population so on the national level there is an interest in keeping Catalonia as part of Spain against the wishes of the Catalan population. Canada has leverage if Quebec wishes to secede, Spain doesn't have leverage with Catalonia.