fixed error line number on Qt5