Todo depende de la calidad de los materiales
Calidad and cualidad are both cognates of the English word quality, but have different meanings; calidad - quality, as in a measure of worth, cualidad - quality, as in a characteristic of a person or thing.