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. QtCreator (4.11 and 4.12beta) & CMake: redirect "compile output" to file
Forum Updated to NodeBB v4.3 + New Features

QtCreator (4.11 and 4.12beta) & CMake: redirect "compile output" to file

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

    I want to post-process the information coming from CMake (namely how many files were touched and how much time it took) for some statistics.
    I am currently copy&pasting after each build that information from the "Compile output"-tab to some text-file.

    I found neither in the Options (Tools > Options > Build & Run) nor 'google' a way to redirect that output (or maybe just copy it).

    Any ideas and hints? Thank you in advance.

    aha_1980A 1 Reply Last reply
    0
    • M marcelpetrick

      I want to post-process the information coming from CMake (namely how many files were touched and how much time it took) for some statistics.
      I am currently copy&pasting after each build that information from the "Compile output"-tab to some text-file.

      I found neither in the Options (Tools > Options > Build & Run) nor 'google' a way to redirect that output (or maybe just copy it).

      Any ideas and hints? Thank you in advance.

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

      Hi @marcelpetrick,

      Afaik, there is currently no such possibility (though you have Tools > Parse Build Output, at least in Creator 4.12).

      So would a button "Save pane contents as..." already solve your problem?

      Or do you think of something else?

      Regards

      Qt has to stay free or it will die.

      M 1 Reply Last reply
      1
      • aha_1980A aha_1980

        Hi @marcelpetrick,

        Afaik, there is currently no such possibility (though you have Tools > Parse Build Output, at least in Creator 4.12).

        So would a button "Save pane contents as..." already solve your problem?

        Or do you think of something else?

        Regards

        M Offline
        M Offline
        marcelpetrick
        wrote on last edited by marcelpetrick
        #3

        @aha_1980 Something like the Unix 'tee' would be great. I still want to have the regular output in that panel. But additional redirection to a file would be great. (see: https://stackoverflow.com/a/418899/1694302 )
        If both options at the same time are not possible, then at least a way to redirect to file. Then I could add a post-processing step as build-step in QtCreator and handle that file's content.

        aha_1980A 1 Reply Last reply
        0
        • M marcelpetrick

          @aha_1980 Something like the Unix 'tee' would be great. I still want to have the regular output in that panel. But additional redirection to a file would be great. (see: https://stackoverflow.com/a/418899/1694302 )
          If both options at the same time are not possible, then at least a way to redirect to file. Then I could add a post-processing step as build-step in QtCreator and handle that file's content.

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

          @marcelpetrick

          Then you should file a suggestion at bugreports.qt.io/QTCREATORBUG (and add a link to the report here).

          Regards

          Qt has to stay free or it will die.

          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