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. How to use clang-format in QT Creator?

How to use clang-format in QT Creator?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
qt creator
8 Posts 2 Posters 3.0k Views
  • 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.
  • P Offline
    P Offline
    patrik08
    wrote on last edited by
    #1

    Hi i search about 1-2 hours to have this config...
    is here a plug-in?

    jsulmJ 2 Replies Last reply
    0
    • P Offline
      P Offline
      patrik08
      wrote on last edited by patrik08
      #8

      2 hour build ...& it run.. but is the same as the bundle download .. it not display doc to search item & class inside help ... but clang lets go and play... & i find a bug in search e replace... in project dir.. by qt creator...
      Is here a way to put all html doc in my localhost & use my own search tools. or convert to html... .qdoc ..?

      0_1502906735416_piccolo.png

      1 Reply Last reply
      0
      • P patrik08

        Hi i search about 1-2 hours to have this config...
        is here a plug-in?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by jsulm
        #2

        @patrik08 Is this what you are looking for http://doc.qt.io/qtcreator/creator-beautifier.html ?
        (first hit in Google for "clang-format in QT Creator")

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • P patrik08

          Hi i search about 1-2 hours to have this config...
          is here a plug-in?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #3

          @patrik08 I moved this thread to Tools forum as it is about QtCreator.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • P Offline
            P Offline
            patrik08
            wrote on last edited by
            #4

            Ok... but how i can take clang-format in QT Creator in this stable version
            0_1502872630768_qtrxxxx.png

            jsulmJ 1 Reply Last reply
            0
            • P patrik08

              Ok... but how i can take clang-format in QT Creator in this stable version
              0_1502872630768_qtrxxxx.png

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #5

              @patrik08 I don't know whether you can use it in this really old version.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • P Offline
                P Offline
                patrik08
                wrote on last edited by patrik08
                #6

                clang-format
                at this moment i can use clang-format from console or in texmade mac ... i try to build the new qtcreator...

                jsulmJ 1 Reply Last reply
                0
                • P patrik08

                  clang-format
                  at this moment i can use clang-format from console or in texmade mac ... i try to build the new qtcreator...

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #7

                  @patrik08 Why do you build it by yourself? Can't you just install a binary for your platform?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    patrik08
                    wrote on last edited by patrik08
                    #8

                    2 hour build ...& it run.. but is the same as the bundle download .. it not display doc to search item & class inside help ... but clang lets go and play... & i find a bug in search e replace... in project dir.. by qt creator...
                    Is here a way to put all html doc in my localhost & use my own search tools. or convert to html... .qdoc ..?

                    0_1502906735416_piccolo.png

                    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