There is no need to convert a QString to const char*. We can use const char* directly.
mentioned in commit 32dfdcb3