It is including gui header unless I miss something :)
https://github.com/martyone/libmlocale/blob/master/src/mlocale.cpp#L44
and thus this definition is used actually:
https://qt.gitorious.org/qt/qtbase/source/v5.1.0:src/gui/kernel/qguiapplication.h#L66
