[Qt] Fixed some warnings caused by C++11