Hi all !
I have a class, which has a member
but the compiler says, that QMutex::Recursive is not a type name. But I need the Recursive Mode, cause the default Mode doesn't help me.
QMutex is included.
thx
Printable View
Hi all !
I have a class, which has a member
but the compiler says, that QMutex::Recursive is not a type name. But I need the Recursive Mode, cause the default Mode doesn't help me.
QMutex is included.
thx
you can't initialize members with non default constructors like that in a header.
Make your member a pointer, and then initialized it in the implementation file with the recursive mode.