Remove QVersionNumber, seems to be only used for macOS
This commit is contained in:
@@ -184,8 +184,6 @@ LddInfo findDependencyInfo(const QString &binaryPath)
|
|||||||
const auto match = regexp.match(outputLines.first());
|
const auto match = regexp.match(outputLines.first());
|
||||||
if (match.hasMatch()) {
|
if (match.hasMatch()) {
|
||||||
info.installName = match.captured(1);
|
info.installName = match.captured(1);
|
||||||
info.compatibilityVersion = QVersionNumber::fromString(match.captured(2));
|
|
||||||
info.currentVersion = QVersionNumber::fromString(match.captured(3));
|
|
||||||
} else {
|
} else {
|
||||||
LogError() << "Could not parse objdump output line:" << outputLines.first();
|
LogError() << "Could not parse objdump output line:" << outputLines.first();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,6 @@
|
|||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QSet>
|
#include <QSet>
|
||||||
#include <QVersionNumber>
|
|
||||||
|
|
||||||
extern int logLevel;
|
extern int logLevel;
|
||||||
#define LogError() if (logLevel < 0) {} else qDebug() << "ERROR:"
|
#define LogError() if (logLevel < 0) {} else qDebug() << "ERROR:"
|
||||||
@@ -66,8 +65,6 @@ class DylibInfo
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
QString binaryPath;
|
QString binaryPath;
|
||||||
QVersionNumber currentVersion;
|
|
||||||
QVersionNumber compatibilityVersion;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class LddInfo
|
class LddInfo
|
||||||
@@ -75,8 +72,6 @@ class LddInfo
|
|||||||
public:
|
public:
|
||||||
QString installName;
|
QString installName;
|
||||||
QString binaryPath;
|
QString binaryPath;
|
||||||
QVersionNumber currentVersion;
|
|
||||||
QVersionNumber compatibilityVersion;
|
|
||||||
QList<DylibInfo> dependencies;
|
QList<DylibInfo> dependencies;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user