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. options for filtering build logs?
Qt 6.11 is out! See what's new in the release blog

options for filtering build logs?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
14 Posts 5 Posters 1.2k Views 3 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.
  • D Offline
    D Offline
    davecotter
    wrote on last edited by davecotter
    #4

    @Gerd and where, exactly, do i add "-silent"? if i add that to the "additional arguments" it just causes a build error

    and if i add that, do i still see the progress of each file? or is the build now COMPLETELY silent?

    1 Reply Last reply
    0
    • aha_1980A aha_1980

      @Gerd .... or CONFIG+=SILENT to the .pro file.

      Note: that will break Creators error parser.

      Regards

      D Offline
      D Offline
      davecotter
      wrote on last edited by
      #5

      @aha_1980 i use Creator, so that doesn't seem useful?

      aha_1980A 1 Reply Last reply
      0
      • D davecotter

        @aha_1980 i use Creator, so that doesn't seem useful?

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #6

        @davecotter but it's either or. you can't have both.

        Qt has to stay free or it will die.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          davecotter
          wrote on last edited by
          #7

          i don't want SILENT builds, i just want each file's invocation log to say the name of the file, not the entire invocation string. is there a way to do that? if i build Qt Creator myself can i do that?

          aha_1980A 1 Reply Last reply
          0
          • D davecotter

            i don't want SILENT builds, i just want each file's invocation log to say the name of the file, not the entire invocation string. is there a way to do that? if i build Qt Creator myself can i do that?

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by aha_1980
            #8

            @davecotter and that's exactly what the config option does - print only file names.

            And that does not look like Creators error parser expects it, hence I mentioned it.

            Why don't you simply try it?

            Qt has to stay free or it will die.

            1 Reply Last reply
            2
            • D Offline
              D Offline
              davecotter
              wrote on last edited by
              #9

              where do i put this "-silent" thing?

              mrjjM 1 Reply Last reply
              0
              • D davecotter

                where do i put this "-silent" thing?

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

                @davecotter
                Hi
                Try
                CONFIG+=SILENT to the .pro file.

                1 Reply Last reply
                2
                • D Offline
                  D Offline
                  davecotter
                  wrote on last edited by
                  #11

                  @mrjj said in options for filtering build logs?:

                  CONFIG+=SILENT

                  well that seems to work.

                  i guess i'm not sure what you mean by the "errors parser" cuz i introduced a compile error just to see what would happen, and the "Issues" panel showed it correctly

                  mrjjM Pablo J. RoginaP 2 Replies Last reply
                  0
                  • D davecotter

                    @mrjj said in options for filtering build logs?:

                    CONFIG+=SILENT

                    well that seems to work.

                    i guess i'm not sure what you mean by the "errors parser" cuz i introduced a compile error just to see what would happen, and the "Issues" panel showed it correctly

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

                    @davecotter
                    Ok. cool. and you can still click on error and go to the line?

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      davecotter
                      wrote on last edited by
                      #13

                      @mrjj said in options for filtering build logs?:

                      and you can still click on error and go to the line?

                      yup

                      1 Reply Last reply
                      1
                      • D davecotter

                        @mrjj said in options for filtering build logs?:

                        CONFIG+=SILENT

                        well that seems to work.

                        i guess i'm not sure what you mean by the "errors parser" cuz i introduced a compile error just to see what would happen, and the "Issues" panel showed it correctly

                        Pablo J. RoginaP Offline
                        Pablo J. RoginaP Offline
                        Pablo J. Rogina
                        wrote on last edited by
                        #14

                        @davecotter said in options for filtering build logs?:

                        well that seems to work.

                        excellent! thank you for sharing. Time to mark the post as solved?

                        Upvote the answer(s) that helped you solve the issue
                        Use "Topic Tools" button to mark your post as Solved
                        Add screenshots via postimage.org
                        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                        1 Reply Last reply
                        1

                        • Login

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