Populate QT_MESSAGE_PATTERN