Replace hard-coded version number 0x050000 with QT_VERSION_CHECK(5, 0, 0) for better readability.