Unit Test's extern source class doesn't compile
Hi folks, I got one little issue: When I am compiling Unit Test for my application, the test won't compile, because extern class "Exception" does not provide copying constructor (due to Q_DISABLE_COPY) and compiler yells that QObject::QObject can't access private data (C2248) so the test fails. When I try to build only application - it works even with class Exception (as it is a part of that project).
I really don't know what to do with Unit Test to make it work...the question is, how to get rid of that error?
Just from the message provided, it's hard to tell, what might cause the error. Could be a problem with private (default) inheritance from QObject in your Unit Test class?
The source of the Unit Test class would help in understanding the error better.