Results 1 to 10 of 10

Thread: Qwt: Is it possible to perform GUI operations from a separate QProcess?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2020
    Posts
    4
    Thanks
    5
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Qwt: Is it possible to perform GUI operations from a separate QProcess?

    First of all, I am thinking the answer is no, but I cannot say for sure, so a confirmation would be nice.

    I am new to Qt and Qwt (and GUI programming in general), and I am relatively new to C++.
    I know you should not perform any GUI operations from a separate thread, but I was wondering if I could make something work using QProcess (or fork() obviously) and QSharedMemory, while still making it "feel" like one application.

    My goal is to build a GUI to display large amounts of data in real-time with Qt and Qwt. The GUI needs to contain 2 plots: the first plot needs to replot a completely new set of 1e6 samples for every update (needs to be done very quickly, minimum 10FPS), the second plot is a waterfall display (Google "fft waterfall display" if unfamiliar) based on the data of the first plot. My biggest concern is the speed of painting.

    If I only create the first plot, my GUI updates at about 17FPS.

    I am running my program on CentOS 7 with Qt 5.9.7 and Qwt 6.1.5.
    Last edited by seanj; 18th December 2020 at 16:03.

Similar Threads

  1. How to perform HSV Color mixing ?
    By Ashketchup in forum Qt Programming
    Replies: 1
    Last Post: 12th April 2012, 20:28
  2. Replies: 10
    Last Post: 30th January 2012, 11:01
  3. how to perform search in QTableWidget?
    By aurora in forum Qt Programming
    Replies: 3
    Last Post: 5th January 2012, 04:25
  4. Replies: 15
    Last Post: 24th December 2011, 12:07
  5. Problem with QProcess in two separate threads
    By viheaho in forum Qt Programming
    Replies: 2
    Last Post: 18th March 2010, 22:52

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.