Quality is dependent on the genetics and on the grower. When you have a competent grower growing high quality genetics, indoor vs. outdoor becomes fairly irrelevant - both can be equally good. A competent grower doing good genetics outdoor and growing organically can easily produce far higher quality than an incompetent grower doing crap commercial genetics with synthetic fertilizer indoors.

My preference for production method in order of quality (in my personal opinion of course) is: light-dep, outdoor, indoor soil, greenhouse soil, with anything hydro (indoor, greenhouse or otherwise) being dead last. It is almost impossible to beat organic outdoor that has been expertly bred and expertly grown in an ideal climate.