summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-03-24 11:52:16 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-03-24 11:52:16 (GMT)
commit0df19648d2777c021e7bfe3031e097016a159e8e (patch)
tree4d9e9f9ee8730002fa08a2b6fad6837d716453fc /src/corelib/global
parent22d472c17167c4ca8df5678842768ab63b7baadd (diff)
downloadQt-0df19648d2777c021e7bfe3031e097016a159e8e.zip
Qt-0df19648d2777c021e7bfe3031e097016a159e8e.tar.gz
Qt-0df19648d2777c021e7bfe3031e097016a159e8e.tar.bz2
Add documentation about how to create shared libraries.
Reviewed-by: Paul Reviewed-by: Kavindra Devi Palaraja <kavindra.palaraja@nokia.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qglobal.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index b9c2bee..9f4af50 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -2961,4 +2961,24 @@ bool QInternal::callFunction(InternalFunction func, void **args)
\snippet doc/src/snippets/code/src_gui_dialogs_qmessagebox.cpp 4
*/
+/*!
+ \macro Q_DECL_EXPORT
+ \relates <QtGlobal>
+
+ This macro marks a symbol for shared library export (see
+ \l{sharedlibrary.html}{Creating Shared Libraries}).
+
+ \sa Q_DECL_IMPORT
+*/
+
+/*!
+ \macro Q_DECL_IMPORT
+ \relates <QtGlobal>
+
+ This macro declares a symbol to be an import from a shared library (see
+ \l{sharedlibrary.html}{Creating Shared Libraries}).
+
+ \sa Q_DECL_EXPORT
+*/
+
QT_END_NAMESPACE