Hi, There should be no special requirement for the folder structure. Basically this should work for CMake based projects as well. Have a look at the example project provided in
https://bugreports.qt.io/browse/QTCREATORBUG-15813 This one works as expected and might give a hint how to do it.. If this does not help (or you have suggestions/recommendations to improve the CMake support inside the AutoTest plugin), please file a bugreport (or suggestion) at https://bugreports.qt.io . If possible add your project (or a similar minimal example project) which is expected to work and I'll have a look. Kind regards, Christian ________________________________________ From: Qt-creator <[email protected]> on behalf of Harald Vistnes <[email protected]> Sent: Friday, August 5, 2016 1:11:11 PM To: [email protected] Subject: [Qt-creator] Autotests in Qt Creator with CMake projects Is it possible to run autotests (Qt Test) in Qt Creator with CMake projects? I could only find info for QMake projects here http://doc.qt.io/qtcreator/creator-autotest.html. I tried with the add_test() in the CMakeLists.txt file, but QtC did not seem to pick it up. Are there some requirements on the folder structure for autotests? Thanks, Harald _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
