Optional Qt support in loader