Quality is conformance to requirements.and the other one here
Quality is the capacity to remain robust and conformant, while adapting to new requirements..
I strongly agree with the second definition. The reason being, I can write my program to conform to requirements but what if, the design is poor ? what if the code is crappy ?