Click here to Skip to main content
15,880,972 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505424-Mar-22 11:06
mvek505424-Mar-22 11:06 
GeneralMessage Closed Pin
24-Mar-22 13:25
Member 1496877124-Mar-22 13:25 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan24-Mar-22 21:49
mveRichard MacCutchan24-Mar-22 21:49 
GeneralMessage Closed Pin
25-Mar-22 10:17
Member 1496877125-Mar-22 10:17 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505425-Mar-22 11:26
mvek505425-Mar-22 11:26 
GeneralMessage Closed Pin
25-Mar-22 14:25
Member 1496877125-Mar-22 14:25 
GeneralMessage Closed Pin
25-Mar-22 16:33
Member 1496877125-Mar-22 16:33 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505428-Mar-22 5:26
mvek505428-Mar-22 5:26 
Did some testing of my own over the weekend and I can confirm that QtConcurrent::run() does not like more than 5 parameters. Maybe the thing to do is to look into std::async, std::future as it does not seem to be limited and provides the same functionality. There's a couple of videos on them here: C++ Weekly - Ep 9 std::future Quick-Start - YouTube and here: C++ Weekly - Ep 11 std::future Part 2 - YouTube. Unless there's something in QtConcurrent that ties in better with your QT project, std::async and std::future may server you better.

As a point of interest, why QT? If you're on Ubuntu, and not using Kubuntu, I would have thought that maybe GTK+ would provide a more consistent look-&-feel. There are C++ bindings available (gtkmm), so if you're on a QT/C++ learning curve it would be about the same for you. There's no integrated IDE with gtk, but there's plenty of IDE's out there that will play nicely. Or you could go "hardcore" and learn how to write Makefiles!
Keep Calm and Carry On

GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan25-Mar-22 22:53
mveRichard MacCutchan25-Mar-22 22:53 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
trønderen25-Mar-22 12:58
trønderen25-Mar-22 12:58 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505426-Mar-22 5:07
mvek505426-Mar-22 5:07 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan25-Mar-22 22:51
mveRichard MacCutchan25-Mar-22 22:51 
GeneralMessage Closed Pin
28-Mar-22 14:44
Member 1496877128-Mar-22 14:44 
GeneralMessage Closed Pin
29-Mar-22 6:05
Member 1496877129-Mar-22 6:05 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505429-Mar-22 6:55
mvek505429-Mar-22 6:55 
QuestionHelp with calculating percentage in C Pin
ForNow20-Mar-22 5:37
ForNow20-Mar-22 5:37 
AnswerRe: Help with calculating percentage in C Pin
k505420-Mar-22 5:54
mvek505420-Mar-22 5:54 
GeneralRe: Help with calculating percentage in C Pin
ForNow20-Mar-22 6:47
ForNow20-Mar-22 6:47 
GeneralRe: Help with calculating percentage in C Pin
Calin Negru20-Mar-22 8:41
Calin Negru20-Mar-22 8:41 
JokeRe: Help with calculating percentage in C Pin
RedDk21-Mar-22 7:16
RedDk21-Mar-22 7:16 
AnswerRe: Help with calculating percentage in C Pin
Victor Nijegorodov20-Mar-22 7:42
Victor Nijegorodov20-Mar-22 7:42 
GeneralRe: Help with calculating percentage in C Pin
ForNow20-Mar-22 9:02
ForNow20-Mar-22 9:02 
QuestionMessage Closed Pin
18-Mar-22 15:23
Member 1496877118-Mar-22 15:23 
AnswerRe: How to pass pointers and process them using ellipsis ? Pin
Richard MacCutchan18-Mar-22 23:08
mveRichard MacCutchan18-Mar-22 23:08 
GeneralMessage Closed Pin
19-Mar-22 4:06
Member 1496877119-Mar-22 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.