Added #ifdefs to ignore QTKit classes when we're not using them.