Commit ccecfd70 authored by Friedemann Kleint's avatar Friedemann Kleint

Debugger: Fix manual test.

to work at least for debug-in-source builds.

Reviewed-by: hjk
Task-number: QTCREATORBUG-2546
parent 25788103
...@@ -935,13 +935,13 @@ void testPlugin() ...@@ -935,13 +935,13 @@ void testPlugin()
QLibrary lib(dir + "/libsimple_gdbtest_plugin.dylib"); QLibrary lib(dir + "/libsimple_gdbtest_plugin.dylib");
#endif #endif
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
QLibrary lib(dir + "/libsimple_gdbtest_plugin.dll"); QLibrary lib(dir + "/debug/simple_gdbtest_plugin.dll");
#endif #endif
#ifdef Q_OS_SYMBIAN #ifdef Q_OS_SYMBIAN
QLibrary lib(dir + "/libsimple_gdbtest_plugin.dll"); QLibrary lib(dir + "/libsimple_gdbtest_plugin.dll");
#endif #endif
int (*foo)() = (int(*)()) lib.resolve("pluginTest"); int (*foo)() = (int(*)()) lib.resolve("pluginTest");
qDebug() << "library resolve: " << foo; qDebug() << "library resolve: " << foo << lib.fileName();
if (foo) { if (foo) {
int res = foo(); int res = foo();
res += 1; res += 1;
...@@ -2076,6 +2076,7 @@ int main(int argc, char *argv[]) ...@@ -2076,6 +2076,7 @@ int main(int argc, char *argv[])
Q_UNUSED(s); Q_UNUSED(s);
Q_UNUSED(w); Q_UNUSED(w);
return 0;
} }
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
......
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