Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Qt5 qMetaTypeConstructHelper ?

$
0
0
Is qMetaTypeConstructHelper deprecated in Qt 5. I am trying to use template <> void *qMetaTypeConstructHelper<MyModule>(const MyModule *) {     return new MyModule(); } i get the following errors during compilation : MyModule.cpp:17: error: C2143: syntax error : missing ‘;’ before ‘<’ MyModule.cpp:17: error: C2988: unrecognizable template declaration/definition MyModule.cpp:17: error: C2059: syntax error : ‘<’ How to get this working ?

Viewing all articles
Browse latest Browse all 18427

Trending Articles