| 635 | } |
| 636 | |
| 637 | void AbstractPythonInterface::runConcurrentScript(const QString &script, QStringList args, bool feedback) |
| 638 | { |
| 639 | if (m_dependencies.keys().isEmpty()) { |
| 640 | qWarning() << "No dependencies specified"; |
| 641 | Q_EMIT setupError(i18n("Installation Issue: Cannot find dependency list for %1", featureName())); |
| 642 | return; |
| 643 | } |
| 644 | if (!checkSetup()) { |
| 645 | qWarning() << "setup error for script: " << script; |
| 646 | return; |
| 647 | } |
| 648 | m_scriptJob = QtConcurrent::run(&AbstractPythonInterface::runScript, this, script, args, QString(), true, feedback); |
| 649 | m_watcher.setFuture(m_scriptJob); |
| 650 | } |
| 651 | |
| 652 | void AbstractPythonInterface::proposeMaybeUpdate(const QString &dependency, const QString &minVersion) |
| 653 | { |
no test coverage detected