Results 1 to 2 of 2

Thread: QConcurrent::Run vs QThread

  1. #1
    Join Date
    May 2011
    Location
    Italy
    Posts
    16
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question QConcurrent::Run vs QThread

    Hello...I can't get the difference between these...which one is better?

    I am building a GUI which performs real time image processing on frames captured by camera and shows the processed frames. I want to perform image processing and visualization without freezing the GUI and using all computational power available.

    I was thinking to create two different threads...one for capturing frames from the webcam and another to process the frames...is this a correct approach?

    Thanks
    In QT I believe

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QConcurrent::Run vs QThread

    Quote Originally Posted by Andrea Landi View Post
    Hello...I can't get the difference between these...which one is better?
    Which is better? A hammer or an elephant?

    I am building a GUI which performs real time image processing on frames captured by camera and shows the processed frames. I want to perform image processing and visualization without freezing the GUI and using all computational power available.

    I was thinking to create two different threads...one for capturing frames from the webcam and another to process the frames...is this a correct approach?
    [wiki]Keeping the GUI Responsive[/wiki]
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. need help in QThread()
    By wagmare in forum Qt Programming
    Replies: 3
    Last Post: 18th December 2008, 13:21
  2. Replies: 4
    Last Post: 26th June 2008, 18:41
  3. QThread in Qt4.4
    By ColonelMoW in forum Qt Programming
    Replies: 6
    Last Post: 2nd June 2008, 18:06
  4. Spawn a QThread in another QThread
    By david.corinex in forum Qt Programming
    Replies: 2
    Last Post: 19th December 2007, 12:54
  5. QThread help please
    By munna in forum Newbie
    Replies: 14
    Last Post: 31st May 2006, 04:54

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.