> I've added a few dummy tests to my example dummy plugin, as a reference
> for (one way of solving) the details, that uses the fact that
> add_qtc_plugin etc does some helpful things when WITH_TESTS is set:
>
> https://github.com/e4z9/qtcreator-testplugin/commit/fa8065f580ee5724f8b9afb06e904e1be1c2e343

Nice :)

Could you improve the example so tst_mytest.cpp uses (includes, compiles &
links) some of the code (a class?) in the plugin? I tried with

#include <qtcreatortestplugin.h>

but that didn't compile? Am I missing something in CMakeLists.txt?

Knut

_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to