Qt Task Tree in action
-
Re: Iterator as a member: Tree/Graph-like structure
Hi All,
I've just noticed a thread about chaining asynchronous tasks. Since we will celebrate the official release of Qt Task Tree being a part of Qt 6.11 in just one week, I thought it would be nice to provide a solution, employing the Qt Task Tree, for the issue that was raised in the forum some time ago.
I took the original code placed in the old thread and transformed it so that it uses the never ending recipe of the Qt Task Tree module.
It utilizes elements like Forever, For and ListIterator.The new code (I've placed all content into main.cpp for simplification) is here: https://pastebin.com/zadDm7Xn
I hope it provides some insight.
Best regards
Jarek
-
J jkobus marked this topic as a regular topic
-
J jkobus referenced this topic
-
Re: Iterator as a member: Tree/Graph-like structure
Hi All,
I've just noticed a thread about chaining asynchronous tasks. Since we will celebrate the official release of Qt Task Tree being a part of Qt 6.11 in just one week, I thought it would be nice to provide a solution, employing the Qt Task Tree, for the issue that was raised in the forum some time ago.
I took the original code placed in the old thread and transformed it so that it uses the never ending recipe of the Qt Task Tree module.
It utilizes elements like Forever, For and ListIterator.The new code (I've placed all content into main.cpp for simplification) is here: https://pastebin.com/zadDm7Xn
I hope it provides some insight.
Best regards
Jarek
Hi,
wow, thanks for coming back to my topic and your effort you put into the example :)
Yeah was definitely missing something like Task Trees in Qt back then. Maybe I will visit my project again and see what I can do using the new Qt Task Tree features :)
Thanks again :)