Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Qt threads practical open source code.

Qt threads practical open source code.

Scheduled Pinned Locked Moved The Lounge
5 Posts 3 Posters 2.0k 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.
  • musimbateM Offline
    musimbateM Offline
    musimbate
    wrote on last edited by
    #1

    Hello every one,
    I am looking into how one gets threading done in Qt lately .The examples found in the doc and on "bogotobogo":http://www.bogotobogo.com/Qt/Qt5_Creating_QtQuick2_QML_Application_Animation_A.php are great but I still feel I need to get a feel on how real world applications use these .

    It would be great to have both pure QThread based and Qt concurrent based.Any suggestions?

    Thanks for your time.

    Why join the navy if you can be a pirate?-Steve Jobs

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The latest "QThread":http://qt-project.org/doc/qt-5/qthread.html#details documentation explains it pretty well

      For the rest it really depends on your use case

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • musimbateM Offline
        musimbateM Offline
        musimbate
        wrote on last edited by
        #3

        Thanks SGaist,
        The link you provided is good ,I guess I was trying to jump ahead myself :-),
        I have seen also that the Qt concurrent framework allows one to write threaded applications in Qt ,to my understanding ,you just call the APIs and Qt takes care of the low level threading details .

        So here is the question I have ,based on which factors should one decide to use QThread directly or Qt Concurrent for Qt threaded applications?

        Thanks again for your time.

        Why join the navy if you can be a pirate?-Steve Jobs

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          Hi,

          "This page":http://qt-project.org/doc/qt-5/threads-technologies.html compares the different ways to use threads in Qt, and provides some example use cases. (There's more than just QThread vs. QtConcurrent!)

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • musimbateM Offline
            musimbateM Offline
            musimbate
            wrote on last edited by
            #5

            Thanks JKSH,
            This link looks like what I am after.Can't leave without saying thanks for the quality or the help you provide guys.This is what makes Qt tick!Thanks again.

            Why join the navy if you can be a pirate?-Steve Jobs

            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