def set_qsettings(qsettings):
    """
    Sets the qsettings used by the backends to cache some information such
    as the user credentials. If no custom qsettings is defined, qcrash will
    use its own settings (QSettings('QCrash'))

    :param qsettings: QtCore.QSettings instance
    """
    global _qsettings
    _qsettings = qsettings
