forked from qt-creator/qt-creator
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:
committed by
christiaan.janssen
parent
e3d95ac094
commit
65215b01e8
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user