summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qlibrary_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/plugin/qlibrary_unix.cpp')
-rw-r--r--src/corelib/plugin/qlibrary_unix.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/corelib/plugin/qlibrary_unix.cpp b/src/corelib/plugin/qlibrary_unix.cpp
index 3700d2ac9c..7062a37241 100644
--- a/src/corelib/plugin/qlibrary_unix.cpp
+++ b/src/corelib/plugin/qlibrary_unix.cpp
@@ -258,6 +258,13 @@ bool QLibraryPrivate::unload_sys()
return true;
}
+#ifdef Q_OS_LINUX
+Q_CORE_EXPORT QFunctionPointer qt_linux_find_symbol_sys(const char *symbol)
+{
+ return QFunctionPointer(dlsym(RTLD_DEFAULT, symbol));
+}
+#endif
+
#ifdef Q_OS_MAC
Q_CORE_EXPORT QFunctionPointer qt_mac_resolve_sys(void *handle, const char *symbol)
{