MultiThreading in QT
-
How to use two threads to run 2 independent counters and displaying them in GUI?
i have run one counter in GUI but unable to execute 2nd one! -
How to use two threads to run 2 independent counters and displaying them in GUI?
i have run one counter in GUI but unable to execute 2nd one!@SHUBHAM-SINGH-RAO
did you already read the threading docs as a starting point? -
How to use two threads to run 2 independent counters and displaying them in GUI?
i have run one counter in GUI but unable to execute 2nd one!@SHUBHAM-SINGH-RAO I just did a threading example for someone else and coincidentally used timers. I'll grab the link and post it here ...
Here ya go:
https://forum.qt.io/topic/88317/custom-type-sending-classes-for-communication-between-threads/7
-
@SHUBHAM-SINGH-RAO I just did a threading example for someone else and coincidentally used timers. I'll grab the link and post it here ...
Here ya go:
https://forum.qt.io/topic/88317/custom-type-sending-classes-for-communication-between-threads/7
@ambershark Thanx for ur help...but I m working on a GUI based application not on Console Application. My aim is to run GUI without hanging, simultaneously uploading the data being entered by user on server. For that I need Multi Threading .
kindly help me out. -
@ambershark Thanx for ur help...but I m working on a GUI based application not on Console Application. My aim is to run GUI without hanging, simultaneously uploading the data being entered by user on server. For that I need Multi Threading .
kindly help me out.@SHUBHAM-SINGH-RAO Assuming you didn't even look at my example then. It's all GUI, lol. It's down about post #7 or so in that thread. Check again.
-
@SHUBHAM-SINGH-RAO
did you already read the threading docs as a starting point?@raven-worx Yeah, I have gone through this document few days back, but still I m facing problems regarding applying these concepts in code, since I don't have good hands on this topic.
I m working on a GUI based application where my aim is to run GUI without hanging, simultaneously uploading the data being entered by user on server. For that I need to implement Multi Threading concept.
kindly help me out. -
@raven-worx Yeah, I have gone through this document few days back, but still I m facing problems regarding applying these concepts in code, since I don't have good hands on this topic.
I m working on a GUI based application where my aim is to run GUI without hanging, simultaneously uploading the data being entered by user on server. For that I need to implement Multi Threading concept.
kindly help me out.@SHUBHAM-SINGH-RAO
since you have an actual example by @ambershark i think your are after a tailored solution rather than help -
@ambershark Thanx for ur help...but I m working on a GUI based application not on Console Application. My aim is to run GUI without hanging, simultaneously uploading the data being entered by user on server. For that I need Multi Threading .
kindly help me out.@SHUBHAM-SINGH-RAO said in MultiThreading in QT:
@ambershark Thanx for ur help...but I m working on a GUI based application not on Console Application. My aim is to run GUI without hanging, simultaneously uploading the data being entered by user on server. For that I need Multi Threading .
You mean something like a chat program? I doubt you will need multithreading for that, but if you think... The rest of the world uses SIGNALS and SLOTS and let Qt do the heavy work in background.
-
@raven-worx Yeah, I have gone through this document few days back, but still I m facing problems regarding applying these concepts in code, since I don't have good hands on this topic.
I m working on a GUI based application where my aim is to run GUI without hanging, simultaneously uploading the data being entered by user on server. For that I need to implement Multi Threading concept.
kindly help me out.@SHUBHAM-SINGH-RAO said in MultiThreading in QT:
since I don't have good hands on this topic
Nice and short read to get you going: https://mayaposch.wordpress.com/2011/11/01/how-to-really-truly-use-qthreads-the-full-explanation/