Browse Source

Remove QVersionNumber, seems to be only used for macOS

master
probonopd 9 years ago
parent
commit
c589480529
  1. 2
      shared/shared.cpp
  2. 5
      shared/shared.h

2
shared/shared.cpp

@ -184,8 +184,6 @@ LddInfo findDependencyInfo(const QString &binaryPath)
const auto match = regexp.match(outputLines.first());
if (match.hasMatch()) {
info.installName = match.captured(1);
info.compatibilityVersion = QVersionNumber::fromString(match.captured(2));
info.currentVersion = QVersionNumber::fromString(match.captured(3));
} else {
LogError() << "Could not parse objdump output line:" << outputLines.first();
}

5
shared/shared.h

@ -33,7 +33,6 @@
#include <QStringList>
#include <QDebug>
#include <QSet>
#include <QVersionNumber>
extern int logLevel;
#define LogError() if (logLevel < 0) {} else qDebug() << "ERROR:"
@ -66,8 +65,6 @@ class DylibInfo
{
public:
QString binaryPath;
QVersionNumber currentVersion;
QVersionNumber compatibilityVersion;
};
class LddInfo
@ -75,8 +72,6 @@ class LddInfo
public:
QString installName;
QString binaryPath;
QVersionNumber currentVersion;
QVersionNumber compatibilityVersion;
QList<DylibInfo> dependencies;
};

Loading…
Cancel
Save