Fix build errors on Linux with Qt5  vers less than Qt5.2