summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qlibrary.h
diff options
context:
space:
mode:
authorYan Shapochnik <shapochniky@seapine.com>2012-04-20 08:41:18 -0400
committerQt by Nokia <qt-info@nokia.com>2012-04-24 19:37:13 +0200
commit33a4e3b4706e6819f4471fc431436ec69bee1d33 (patch)
tree387c08af51296475f9d8540a42ea68c83249eddc /src/corelib/plugin/qlibrary.h
parent0723e14699704c35d5d61fa7f5e9f3bdbb378afa (diff)
Provide access to RTLD_NODELETE flag on Unix.
Introduce a new QLibrary::PreventUnloadHint to support the RTLD_NODELETE flag support by dlcompat on Unix platforms. Change-Id: Ib1327e968a2a888850ad1086a102a143f86c5090 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com>
Diffstat (limited to 'src/corelib/plugin/qlibrary.h')
-rw-r--r--src/corelib/plugin/qlibrary.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/plugin/qlibrary.h b/src/corelib/plugin/qlibrary.h
index f373ad06b6..80e6fd3d4c 100644
--- a/src/corelib/plugin/qlibrary.h
+++ b/src/corelib/plugin/qlibrary.h
@@ -68,7 +68,8 @@ public:
enum LoadHint {
ResolveAllSymbolsHint = 0x01,
ExportExternalSymbolsHint = 0x02,
- LoadArchiveMemberHint = 0x04
+ LoadArchiveMemberHint = 0x04,
+ PreventUnloadHint = 0x08
};
Q_DECLARE_FLAGS(LoadHints, LoadHint)