Add Q dependency