QtConcurrent-run-inherited-member-function

From Qt Wiki
Revision as of 17:18, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: