// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

/*!
    \page creator-how-to-find-settings-files.html
    \previouspage creator-how-tos.html

    \ingroup creator-how-to-use

    \title Reset \QC settings

    To reset all \QC settings, remove the settings files that it creates:

    \list
        \li \c QtCreator.db
        \li \c QtCreator.ini
        \li \c qtversion.xml
        \li \c qtcreator
    \endlist

    The location of the above files and directories depends on the platform:

    \list
        \li On Linux and other Unix platforms, look in
            \c {~/.config/QtProject} and
            \c {~/.local/share/data/QtProject/qtcreator}.
        \li On \macos, look in \c {~/.config/QtProject} and
            \c {~/Library/Application Support/QtProject/Qt Creator}.
        \li On Windows, look in
            \c {%appdata%\QtProject} and \c {%localappdata%\QtProject}.
    \endlist

    To check whether the settings are causing a problem before resetting them,
    start \QC from the command line with options.

    \section1 Override the default settings path

    To override the default path where user settings are stored, enter:

    \badcode
    qtcreator -settingspath <path>
    \endcode

    To override the default path from where user-independent settings are read
    (for example, those written by the installer), enter:

    \badcode
    qtcreator -installsettingspath <path>
    \endcode

    \section1 Start \QC with temporary clean settings

    To use clean settings that are deleted when you quit \QC, enter:

    \badcode
    qtcreator -tcs
    \endcode

    \sa {Run Qt Creator from the command line}
*/
