QtConcurrent-run-inherited-member-function: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 17:18, 14 January 2015

To call an inherited member function of an object using QtConcurrent::run, you must cast the member function address to the subclass type.

form.h

form.cpp

form.ui

MyClass.h

main.cpp

Categories: