Sorry for not spotting the issue at first push. Code was indeed qCompare'ing a QString with a const char pointer. Depending on the Qt version, it's possible an implicit cast was possible. Pushed tentative fix as D27524.