diff options
-rw-r--r-- | plugins/autotest/autotest.qbs | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/plugins/autotest/autotest.qbs b/plugins/autotest/autotest.qbs new file mode 100644 index 0000000000..8b522b6eb6 --- /dev/null +++ b/plugins/autotest/autotest.qbs @@ -0,0 +1,80 @@ +import qbs + +QtcPlugin { + name: "AutoTest" + + Depends { name: "Core" } + Depends { name: "CppTools" } + Depends { name: "CPlusPlus" } + Depends { name: "LicenseChecker" } + Depends { name: "ProjectExplorer" } + Depends { name: "QmakeProjectManager" } + Depends { name: "QmlJS" } + Depends { name: "QmlJSTools" } + Depends { name: "Utils" } + + Depends { + name: "QtSupport" + condition: project.testsEnabled + } + + Depends { + name: "Qt.test" + condition: project.testsEnabled + } + + Depends { name: "Qt.widgets" } + + files: [ + "autotest.qrc", + "autotest_global.h", + "autotestconstants.h", + "autotestplugin.cpp", + "autotestplugin.h", + "testcodeparser.cpp", + "testcodeparser.h", + "testconfiguration.cpp", + "testconfiguration.h", + "testinfo.cpp", + "testinfo.h", + "testnavigationwidget.cpp", + "testnavigationwidget.h", + "testresult.cpp", + "testresult.h", + "testresultdelegate.cpp", + "testresultdelegate.h", + "testresultmodel.cpp", + "testresultmodel.h", + "testresultspane.cpp", + "testresultspane.h", + "testrunner.cpp", + "testrunner.h", + "testsettings.cpp", + "testsettings.h", + "testsettingspage.cpp", + "testsettingspage.h", + "testsettingspage.ui", + "testtreeitem.cpp", + "testtreeitem.h", + "testtreeitemdelegate.cpp", + "testtreeitemdelegate.h", + "testtreemodel.cpp", + "testtreemodel.h", + "testtreeview.cpp", + "testtreeview.h", + "testvisitor.cpp", + "testvisitor.h", + "testxmloutputreader.cpp", + "testxmloutputreader.h", + ] + + Group { + name: "Test sources" + condition: project.testsEnabled + files: [ + "autotestunittests.cpp", + "autotestunittests.h", + "autotestunittests.qrc", + ] + } +} |