Fixed issue #1 to compile in Qt5.