diff --git a/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp b/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp index 1801eb9b5e3e9c0b974f6e69ef49a59681fd8b06..0b8908238620fd6fd7b87d42653e50aee0cb3217 100644 --- a/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp +++ b/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp @@ -130,13 +130,9 @@ void AbstractRemoteLinuxDeployService::saveDeploymentTimeStamp(const DeployableF { if (!d->target) return; - const QtSupport::BaseQtVersion *const qtVersion - = QtSupport::QtKitInformation::qtVersion(d->kit); QString systemRoot; if (SysRootKitInformation::hasSysRoot(d->kit)) systemRoot = SysRootKitInformation::sysRoot(d->kit).toString(); - if (!qtVersion || !qtVersion->isValid()) - return; d->lastDeployed.insert(DeployParameters(deployableFile, deviceConfiguration()->sshParameters().host, systemRoot), @@ -147,10 +143,6 @@ bool AbstractRemoteLinuxDeployService::hasChangedSinceLastDeployment(const Deplo { if (!target()) return true; - const QtSupport::BaseQtVersion *const qtVersion - = QtSupport::QtKitInformation::qtVersion(d->kit); - if (!qtVersion || !qtVersion->isValid()) - return true; QString systemRoot; if (SysRootKitInformation::hasSysRoot(d->kit)) systemRoot = SysRootKitInformation::sysRoot(d->kit).toString();