Commit 0cfd128a authored by Friedemann Kleint's avatar Friedemann Kleint

Debugger: Fix link error on Linux.

Introduced by e03f7da7 .

Task-number: QTCREATORBUG-8820
Change-Id: Ib48b8d15a37c2d6b6ce99769a86ef24f4e7d3c2d
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent e03f7da7
......@@ -29,11 +29,12 @@
#include "peutils.h"
#include <utils/winutils.h>
#include <QStringList>
#include <QDebug>
#include <climits>
#include <windows.h>
#ifdef Q_OS_WIN
# include <utils/winutils.h>
# include <QDebug>
# include <climits>
# include <windows.h>
using Utils::winErrorMessage;
......@@ -275,5 +276,20 @@ bool getPDBFiles(const QString &peExecutableFileName, QStringList *rc, QString *
return success;
}
#else // Q_OS_WIN
namespace Debugger {
namespace Internal {
bool getPDBFiles(const QString &peExecutableFileName, QStringList *rc, QString *errorMessage)
{
Q_UNUSED(peExecutableFileName)
rc->clear();
*errorMessage = QLatin1String("Not implemented.");
return false;
}
#endif // Q_OS_WIN
} // namespace Internal
} // namespace Debugger
......@@ -8,8 +8,6 @@ HEADERS += $$PWD/backtrace.h \
INCLUDEPATH += $$PWD
win32 {
SOURCES += $$PWD/peutils.cpp
HEADERS += $$PWD/peutils.h
......@@ -17,5 +15,3 @@ win32-msvc* {
# For the Privilege manipulation functions in sharedlibraryinjector.cpp.
LIBS += -ladvapi32
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment