Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Solved] QtCreator - uncrustify: Where to put the config-file?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kaivolde
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      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

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved