QtTest Unit Testing, how to add header files located in another project?

Viewed 6740

Maybe I'm missing something, but it seems really stupid to me that the only tutorial provided for QtTest framework has you testing the QString class.

The typical use case for unit testing is....testing classes you wrote yourself, but there is no mention on how to reference your classes in a different project for testing in the tutorial and google has failed me as well(and I really doubt copy pasting classes is a good way to do it).

I even thumbed through 3 different Qt books with no mention of QtTest.

2 Answers
Related