diff --git a/plugins/autotest/autotest.pro b/plugins/autotest/autotest.pro index 45ab5582909..057060f2fac 100644 --- a/plugins/autotest/autotest.pro +++ b/plugins/autotest/autotest.pro @@ -1,13 +1,10 @@ TARGET = AutoTest TEMPLATE = lib -PROVIDER = Digia - include(../../qtcreatorplugin.pri) include(autotest_dependencies.pri) DEFINES += AUTOTEST_LIBRARY -CONFIG(licensechecker): DEFINES += LICENSECHECKER SOURCES += \ testtreeview.cpp \ diff --git a/plugins/autotest/autotest_dependencies.pri b/plugins/autotest/autotest_dependencies.pri index 9410d779504..ab2e02f054d 100644 --- a/plugins/autotest/autotest_dependencies.pri +++ b/plugins/autotest/autotest_dependencies.pri @@ -6,8 +6,6 @@ QTC_PLUGIN_DEPENDS += \ cpptools \ qmljstools -CONFIG(licensechecker): QTC_PLUGIN_DEPENDS += licensechecker - QTC_LIB_DEPENDS += \ cplusplus \ qmljs \ diff --git a/plugins/autotest/autotestplugin.cpp b/plugins/autotest/autotestplugin.cpp index 7ab0a8f1d95..83f3be8da46 100644 --- a/plugins/autotest/autotestplugin.cpp +++ b/plugins/autotest/autotestplugin.cpp @@ -44,10 +44,6 @@ #include -#ifdef LICENSECHECKER -# include -#endif - #include #include #include @@ -95,21 +91,6 @@ QSharedPointer AutotestPlugin::settings() const return m_settings; } -bool AutotestPlugin::checkLicense() -{ -#ifdef LICENSECHECKER - LicenseChecker::LicenseCheckerPlugin *licenseChecker - = ExtensionSystem::PluginManager::getObject(); - - if (!licenseChecker || !licenseChecker->hasValidLicense()) { - qWarning() << "Invalid license, disabling Qt Creator Enterprise Auto Test Add-on."; - return false; - } else if (!licenseChecker->enterpriseFeatures()) - return false; -#endif // LICENSECHECKER - return true; -} - void AutotestPlugin::initializeMenuEntries() { ActionContainer *menu = ActionManager::createMenu(Constants::MENU_ID); @@ -147,9 +128,6 @@ bool AutotestPlugin::initialize(const QStringList &arguments, QString *errorStri Q_UNUSED(arguments) Q_UNUSED(errorString) - if (!checkLicense()) - return true; - initializeMenuEntries(); m_settings->fromSettings(ICore::settings());