Skip to content
Snippets Groups Projects
Commit b0bc76ec authored by Kai Koehne's avatar Kai Koehne
Browse files

GdbTest: Compile fix

parent 6f11765d
No related branches found
No related tags found
No related merge requests found
......@@ -908,17 +908,17 @@ void testPlugin()
{
QString dir = QDir::currentPath();
#ifdef Q_OS_LINUX
QLibrary lib(dir + "/libplugin.so");
QLibrary lib(dir + "/libsimple_gdbtest_plugin.so");
#endif
#ifdef Q_OS_MAC
dir = QFileInfo(dir + "/../..").canonicalPath();
QLibrary lib(dir + "/libplugin.dylib");
QLibrary lib(dir + "/libsimple_gdbtest_plugin.dylib");
#endif
#ifdef Q_OS_WIN
QLibrary lib(dir + "/plugin.dll");
QLibrary lib(dir + "/libsimple_gdbtest_plugin.dll");
#endif
#ifdef Q_OS_SYMBIAN
QLibrary lib(dir + "/plugin.dll");
QLibrary lib(dir + "/libsimple_gdbtest_plugin.dll");
#endif
int (*foo)() = (int(*)()) lib.resolve("pluginTest");
qDebug() << "library resolve: " << foo;
......@@ -2045,4 +2045,4 @@ int main(int argc, char *argv[])
QT_BEGIN_NAMESPACE
QT_END_NAMESPACE
#include "app.moc"
#include "simple_gdbtest_app.moc"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment