Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to access the Qt C++ project in Qt test project
shravan_121 last edited by
How to test the existing Qt C++ project code with Qt test both are sub-directories of a sub-directory project created to have both test project and C++ project in it.I dint know how to access the main C++ project code from test project.Is there any include statement or any linking process between the two project
@shravan_121 Simply add cpp files you want to test to SOURCES in your test pro file (you will probably need to add header files to HEADERS also).