Removed Qt5 specific code