McuSupport: Better management of older Qt for Mcu SDKs

Task-number: QTCREATORBUG-25337
Change-Id: Ib0b2f6c75a41a2a897c128455c7b6f761832f5d4
Reviewed-by: Dawid Śliwa <dawid.sliwa@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Christiaan Janssen
2021-03-01 11:07:44 +01:00
committed by christiaan.janssen
parent e3d95ac094
commit 65215b01e8
5 changed files with 94 additions and 24 deletions

View File

@@ -78,6 +78,15 @@ private:
const bool m_isFile;
};
// Get version from the path of the package itself
class McuPackagePathVersionDetector : public McuPackageVersionDetector {
public:
McuPackagePathVersionDetector(const QString &versionRegExp);
QString parseVersion(const QString &packagePath) const;
private:
const QString m_versionRegExp;
};
} // Internal
} // McuSupport