Important: Please read the Qt Code of Conduct -

[Solved] QtCreator - uncrustify: Where to put the config-file?

  • Hi there,

    where do I have to put the config-file, when the first option is checked in QtCreator?
    In English this option should be something like "Use uncrustify.cfg how it is configured in the projectfiles"

    Which projectfiles are meant here?

    When I use the second option "put configfile in user-directory" everything works but it is not so git-friendly!

    Thanks in advance

  • Hi,

    IMO the options means that your uncrustify.cfg shall be in your PROJECT.
    Depending on your project type (QMAKE, CMAKE, ....) you MUST add this file to the files managed by project

Log in to reply