fixed wrong usage in qt 4.8* version