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 forward console prints to label?

How to forward console prints to label?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 621 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.
  • QT-static-prgmQ Offline
    QT-static-prgmQ Offline
    QT-static-prgm
    wrote on last edited by
    #1

    Hi,

    do you know how i can forward everything that is printed to the console to an label??
    I noticed that qt is printing a lot to the console (Qimage import warnings, QOpenGlShader errors,...)
    Is there a easy way to write everything that is printed to the console to an label instead??

    K 1 Reply Last reply
    0
    • QT-static-prgmQ QT-static-prgm

      Hi,

      do you know how i can forward everything that is printed to the console to an label??
      I noticed that qt is printing a lot to the console (Qimage import warnings, QOpenGlShader errors,...)
      Is there a easy way to write everything that is printed to the console to an label instead??

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @QT-static-prgm

      Stuff Qt is printed through QDebug, ... mechanism. You may want to have a look to QMessageLogger

      Also the debugging techniques may be of interest. You can install a message handler in your application

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      4

      • Login

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