fixed compiling against qt5