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. Error in Beautifier: Failed to format: The command "astyle" could not be started..
Forum Updated to NodeBB v4.3 + New Features

Error in Beautifier: Failed to format: The command "astyle" could not be started..

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
6 Posts 2 Posters 3.1k 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.
  • X Offline
    X Offline
    xoraxrax
    wrote on last edited by
    #1

    qt5.9.1
    mac os 10.12

    brew install AStyle
    tool - beautifier - artistic style:
    Error in Beautifier: Failed to format: The command "astyle" could not be started..

    mrjjM 1 Reply Last reply
    0
    • X xoraxrax

      qt5.9.1
      mac os 10.12

      brew install AStyle
      tool - beautifier - artistic style:
      Error in Beautifier: Failed to format: The command "astyle" could not be started..

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @xoraxrax
      hi
      Seems its not installed where Creator expects.
      Set it up in Options
      alt text

      1 Reply Last reply
      2
      • X Offline
        X Offline
        xoraxrax
        wrote on last edited by
        #3

        0_1503580145016_QQ20170824-210828.png

        osx_test:

        # Allman Coding Style Options
        # Based on an old AStyle release.
        
        # braces and indent
        style=allman
        # indent=spaces    # this is the default
        
        # indentation
        min-conditional-indent=0
        max-continuation-indent=80
        
        # padding
        pad-oper
        pad-header
        unpad-paren
        align-pointer=type
        
        # formatting
        break-one-line-headers
        keep-one-line-blocks
        keep-one-line-statements
        convert-tabs
        
        

        error :

        Error in Beautifier: Cannot open documentation file "/Users/xoraxrax/.config/QtProject/qtcreator/beautifier/documentation/artisticstyle.xml".
        
        1 Reply Last reply
        0
        • X Offline
          X Offline
          xoraxrax
          wrote on last edited by
          #4

          it seems to have been successful ,issues can close.

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #5

            Alter the Option so it DO NOT look in user folder or project folder
            (or place file there if u want)

            alt text

            update OK:

            1 Reply Last reply
            1
            • X Offline
              X Offline
              xoraxrax
              wrote on last edited by
              #6

              thanks...

              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