From f610c11869e67d9c79be696de5d5ed69a4761b1b Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Tue, 12 Mar 2024 01:44:49 +0300 Subject: TQT_THREAD_SUPPORT->!TQT_NO_THREAD: update documentation Signed-off-by: Alexander Golubev --- doc/threads.doc | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'doc/threads.doc') diff --git a/doc/threads.doc b/doc/threads.doc index 951656b7b..2a81a9efd 100644 --- a/doc/threads.doc +++ b/doc/threads.doc @@ -60,18 +60,12 @@ threading see our \link #reading Recommended Reading\endlink list. When TQt is installed on Windows, thread support is an option on some compilers. -On Mac OS X and Unix, thread support is enabled by adding the -\c{-thread} option when running the \c{configure} script. On Unix -platforms where multithreaded programs must be linked in special ways, -such as with a special libc, installation will create a separate -library, \c{libtqt-mt} and hence threaded programs must be linked -against this library (with \c{-ltqt-mt}) rather than the standard Qt -library. - -On both platforms, you should compile with the macro \c -TQT_THREAD_SUPPORT defined (e.g. compile with -\c{-DTQT_THREAD_SUPPORT}). On Windows, this is usually done by an -entry in \c{ntqconfig.h}. +On Mac OS X and Unix, thread support is enabled by default on platforms which +support it. It might be disabled by adding the \c{-no-thread} option when +running the \c{configure} script. Due to historical reasons on Unix platforms, +installation will create a separate library, \c{libtqt-mt} and hence threaded +programs must be linked against this library (with \c{-ltqt-mt}) rather than +the standard \c{libtqt} library. \section1 The Thread Classes -- cgit v1.2.1