made Qt5 compatible for Linux