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]How to configure Beautifier?
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]How to configure Beautifier?

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 12.7k 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.
  • M Offline
    M Offline
    mbnoimi
    wrote on last edited by
    #1

    Hi,

    After activating Beautifier plugin I tried to use Artistic Style by input this in Artistic configuration

    [code]/usr/bin/astyle --style=gnu[/code]

    but Qt Creator shows me this error message whenever I call Artistic:

    [code]Error in Beautifier: Cannot get configuration file for Artistic Style.[/code]

    How can I fix this issue?

    P.S.

    • I don't want to write astyle by myself otherwise what's the benefit of Beautifier?!
    • I use Qt Creator 3.1.0
    • Mint 16 Cinnamon x64
    • Qt 5.2.1
    1 Reply Last reply
    0
    • M Offline
      M Offline
      mbnoimi
      wrote on last edited by
      #2

      May I get some help from you guys?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Lykurg
        wrote on last edited by
        #3

        Hi mbnoimi,

        you only define the path to the executable "/usr/bin/astyle" then you define the option at the bottom under "Use self-defined style" there you click add and then type "--style=gnu".

        A documentation can be found here: http://doc-snapshot.qt-project.org/qtcreator-3.1/creator-beautifier.html

        Cheers

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mbnoimi
          wrote on last edited by
          #4

          Thanks a lot. it works :)

          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