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 implement a buffer-display widget just like "Application Output" widget in qt-creator?
Forum Updated to NodeBB v4.3 + New Features

How to implement a buffer-display widget just like "Application Output" widget in qt-creator?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 376 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.
  • LimerL Offline
    LimerL Offline
    Limer
    wrote on last edited by
    #1

    0_1544524145061_127a4e2d-4536-4f87-a3c9-fc5595ec4eb7-image.png

    I want to let all strings that sended by using printf(...) , display on a widget ( QLabel, QLineEdit,,,).

    Just like the upper pic, the "Application Output" widget in qt-creator is what I want.

    Could someone give me any advice?

    jsulmJ 1 Reply Last reply
    0
    • LimerL Limer

      0_1544524145061_127a4e2d-4536-4f87-a3c9-fc5595ec4eb7-image.png

      I want to let all strings that sended by using printf(...) , display on a widget ( QLabel, QLineEdit,,,).

      Just like the upper pic, the "Application Output" widget in qt-creator is what I want.

      Could someone give me any advice?

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

      @Limer This should help: https://stackoverflow.com/questions/4810516/c-redirecting-stdout

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

      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