summaryrefslogtreecommitdiffstats
path: root/doc/html/qmake-manual-6.html
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-03-12 01:44:49 +0300
committerAlexander Golubev <fatzer2@gmail.com>2024-03-14 00:11:47 +0300
commitf610c11869e67d9c79be696de5d5ed69a4761b1b (patch)
tree57dcfdd70d39ae4a69119397e4d9eff002804d8a /doc/html/qmake-manual-6.html
parent558bc78e5b4a4d78a3e430c84d790eaa0615fe5e (diff)
downloadtqt3-fix/no-thread.tar.gz
tqt3-fix/no-thread.zip
TQT_THREAD_SUPPORT->!TQT_NO_THREAD: update documentationfix/no-thread
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'doc/html/qmake-manual-6.html')
-rw-r--r--doc/html/qmake-manual-6.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/qmake-manual-6.html b/doc/html/qmake-manual-6.html
index cea91e19..227f34c7 100644
--- a/doc/html/qmake-manual-6.html
+++ b/doc/html/qmake-manual-6.html
@@ -101,22 +101,22 @@ body { background: #ffffff; color: black; }
<pre>
win32 {
thread {
- DEFINES += TQT_THREAD_SUPPORT
+ DEFINES += ENABLE_THREAD_SUPPORT
}
}
</pre>
<p>To save writing many nested scopes, you can nest scopes using a colon like this:</p>
<pre>
win32:thread {
- DEFINES += TQT_THREAD_SUPPORT
+ DEFINES += ENABLE_THREAD_SUPPORT
}
</pre>
<p>Once a test has been performed you may also do else/elseif operations. With this you may easily write complicated tests. This can be done with the special 'else' scope, it can be combined with other scopes (separated by colons as above) for example:</p>
<pre>
win32:thread {
- DEFINES += TQT_THREAD_SUPPORT
+ DEFINES += ENABLE_THREAD_SUPPORT
} else:debug {
- DEFINES += QT_NOTHREAD_DEBUG
+ DEFINES += NOTHREAD_DEBUG
} else {
message("Unknown configuration")
}
@@ -166,10 +166,10 @@ body { background: #ffffff; color: black; }
<p>If <em>value</em> is in the list of values stored in the variable called <em>variablename</em>, then the settings inside the scope will be processed. For example:</p>
<pre>
contains( CONFIG, thread ) {
- DEFINES += TQT_THREAD_SUPPORT
+ DEFINES += ENABLE_THREAD_SUPPORT
}
</pre>
-<p>If <em>thread</em> is in the list of values for the <em>CONFIG</em> variable, then TQT_THREAD_SUPPORT will be added to the list of values in the <em>DEFINES</em> variable.</p>
+<p>If <em>thread</em> is in the list of values for the <em>CONFIG</em> variable, then ENABLE_THREAD_SUPPORT will be added to the list of values in the <em>DEFINES</em> variable.</p>
<h4><a name="5-2"></a>count( variablename, number )</h4>
<p>If <em>number</em> matches the number of values stored in the variable called <em>variablename</em>, then the settings inside the scope will be processed. For example:</p>
<pre>