Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how to use standardError?

how to use standardError?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 868 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.
  • R Offline
    R Offline
    raghava
    wrote on last edited by
    #1

    Using the standardOutput i can get the output of the exe.
    but in my exe, i have perror function, for the error,

    when i am using the standardError its not displaying the perror.

    can i display perror function using standardError in QT?

    so what should i use instead of perror in my code?

    jsulmJ 1 Reply Last reply
    0
    • R raghava

      Using the standardOutput i can get the output of the exe.
      but in my exe, i have perror function, for the error,

      when i am using the standardError its not displaying the perror.

      can i display perror function using standardError in QT?

      so what should i use instead of perror in my code?

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

      @raghava You can do it in the same way you're doing it for stdout.
      You should show how you're trying to use stderr, else it is impossible to say what is wrong.

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

      1 Reply Last reply
      4
      • R Offline
        R Offline
        raghava
        wrote on last edited by
        #3

        it's working nice with "PERROR" for standarderror and PRINTF for the standardoutput

        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