FYI QtConncurrent - partially solved - CLOSED
-
I am posting this to put partial closure on the QtConcurrent issue .
( I am still far from implementation of QFutureWatcher )I am not trying to be smart ass , but I WAS pretty close resolving the original issue IF I payed attention to the error .
As far as I am concerned - the issue is in terminology - and at this point i AM NOT interested in discussing it - I need to move on with my code.
It is up to the group....
but here is hint
we have "function with arguments "
then we have this "assignment "
int integer = ....
and then SYMBOL "integer" is passed to ":run"
and such symbol is called "TYPE" - IN ERROR OUTPUT !!
...no more argument ...but type...extern void aFunctionWithArguments(int arg1, double arg2, const QString &string);
int integer = ...;
double floatingPoint = ...;
QString string = ...;QFuture<void> future = QtConcurrent::run(aFunctionWithArguments, integer, floatingPoint, string);
CLOSED
It has been a painful education lesson