Skip to content
Snippets Groups Projects
Commit ccecfd70 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Fix manual test.

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

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