Unit Test's extern source class doesn't compile
General and Desktop
2
Posts
2
Posters
1.2k
Views
1
Watching
-
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?
-