Hi Christian, thanks for the answer. I downloaded the example project. However, it does not detect any Qt Tests. (In the Tests pane on the left, it says Qt Tests (none), Quick Tests (none) and Google Tests (none).
I have Qt Creator 4.1 beta1 and CMake 3.0.0. The AutoTest plugin is enabled. Harald 2016-08-05 13:17 GMT+02:00 Christian Stenger <[email protected]>: > 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 <qt-creator-bounces+christian.stenger= > [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
