Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
b0bc76ec
Commit
b0bc76ec
authored
Sep 03, 2010
by
Kai Koehne
Browse files
GdbTest: Compile fix
parent
6f11765d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
View file @
b0bc76ec
...
...
@@ -908,17 +908,17 @@ void testPlugin()
{
QString
dir
=
QDir
::
currentPath
();
#ifdef Q_OS_LINUX
QLibrary
lib
(
dir
+
"/libplugin.so"
);
QLibrary
lib
(
dir
+
"/lib
simple_gdbtest_
plugin.so"
);
#endif
#ifdef Q_OS_MAC
dir
=
QFileInfo
(
dir
+
"/../.."
).
canonicalPath
();
QLibrary
lib
(
dir
+
"/libplugin.dylib"
);
QLibrary
lib
(
dir
+
"/lib
simple_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"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment