COMP: Allow building without QT with VTK6.