Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Routing debug output to be shown on screen
Qt 6.11 is out! See what's new in the release blog

Routing debug output to be shown on screen

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 3.5k 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.
  • McLionM Offline
    McLionM Offline
    McLion
    wrote on last edited by
    #1

    Hi

    I am working with an embedded device on Linux. I have debug output from linux (native c applications) as well as from Qt (GUI) on the serial console port .. as usual.

    Is there a way to have all the debug output being catched by Qt and then route/show it on the GUI in a textbox or alike?
    This would be a tremendous help for debugging devices in the field.

    Thanks
    McL

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Have a look at "this wiki":http://qt-project.org/wiki/Browser_for_QDebug_output

      Happy coding!

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • EddyE Offline
        EddyE Offline
        Eddy
        wrote on last edited by
        #3

        Seems it's based on obsolete code from Qt4. (but still supported for now)

        "This replaces the old principal function":http://qt-project.org/doc/qt-5/qtglobal.html#qInstallMessageHandler

        Hope it helps.

        Qt Certified Specialist
        www.edalsolutions.be

        1 Reply Last reply
        0
        • McLionM Offline
          McLionM Offline
          McLion
          wrote on last edited by
          #4

          Thanks for the links.
          I am bound to working with Qt 4.6.3 on the eLinux device.
          I'll read it and may (probably will) be back with related questions.

          1 Reply Last reply
          0
          • EddyE Offline
            EddyE Offline
            Eddy
            wrote on last edited by
            #5

            you're welcome.

            bq. I am bound to working with Qt 4.6.3
            In that case you should be able to follow my first link.

            Success with your project.

            Qt Certified Specialist
            www.edalsolutions.be

            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