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. Qproccesdialog with external terminal command
Forum Updated to NodeBB v4.3 + New Features

Qproccesdialog with external terminal command

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.3k 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.
  • G Offline
    G Offline
    gioullis
    wrote on last edited by
    #1

    I have a program that call an external terminal command for calculations. Is it possible to create a qproccesdialog for the command?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet

      Do you mean progress or process dialog?

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

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on last edited by
        #3

        [quote author="gioullis" date="1325763280"]I have a program that call an external terminal command for calculations. Is it possible to create a qproccesdialog for the command?[/quote]

        If your external program is able to report progress via stdout, you can read that from the QProcess object and update the progressbar accordingly. Just make sure to set stdout on the other side to unbuffered, otherwise the progress updates come in batches.

        http://www.catb.org/~esr/faqs/smart-questions.html

        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