* extend help dialog for preprocessor defines in project setup to assign values to defines * make documentation consistent with message box
This commit is contained in:
@@ -2131,7 +2131,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Compiler Flags</th>
|
||||
<td><p>Define additional compiler flags used during indexing including the dash (e.g. use <code>-D RELEASE</code> to add a <code>#define</code> for <code>RELEASE</code>).</p><p>For instructions on how to add paths see <a href="#PathListBox">Path List Box</a>.</p></td>
|
||||
<td><p>Define additional compiler flags used during indexing including the dash (e.g. use <code>-DRELEASE</code> to add a <code>#define</code> for <code>RELEASE</code>).</p><p>For instructions on how to add paths see <a href="#PathListBox">Path List Box</a>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Precompiled Header File</th>
|
||||
@@ -2194,7 +2194,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Additional Compiler Flags</th>
|
||||
<td><p>Define additional compiler flags used during indexing including the dash (e.g. use <code>-D RELEASE</code> to add a <code>#define</code> for <code>RELEASE</code>).</p><p>For instructions on how to add paths see <a href="#PathListBox">Path List Box</a>.</p></td>
|
||||
<td><p>Define additional compiler flags used during indexing including the dash (e.g. use <code>-DRELEASE</code> to add a <code>#define</code> for <code>RELEASE</code>).</p><p>For instructions on how to add paths see <a href="#PathListBox">Path List Box</a>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Precompiled Header File</th>
|
||||
@@ -2287,7 +2287,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Additional Compiler Flags</th>
|
||||
<td><p>Define additional compiler flags used during indexing including the dash (e.g. use <code>-D RELEASE</code> to add a <code>#define</code> for <code>RELEASE</code>).</p><p>For instructions on how to add paths see <a href="#PathListBox">Path List Box</a>.</p></td>
|
||||
<td><p>Define additional compiler flags used during indexing including the dash (e.g. use <code>-DRELEASE</code> to add a <code>#define</code> for <code>RELEASE</code>).</p><p>For instructions on how to add paths see <a href="#PathListBox">Path List Box</a>.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -28,8 +28,17 @@ void QtProjectWizardContentFlags::populate(QGridLayout* layout, int& row)
|
||||
QStringLiteral(
|
||||
"<p>Define additional Clang compiler flags used during indexing. Here are some "
|
||||
"examples:</p>"
|
||||
"<p>use \"-DRELEASE\" to add a preprocessor #define for \"RELEASE\"</p>"
|
||||
"<p>use \"-U__clang__\" to remove the preprocessor #define for \"__clang__\"</p>"),
|
||||
"<ul style=\"-qt-list-indent:0;\">"
|
||||
"<li style=\"margin-left:1em\">use '-DRELEASE' to add a preprocessor #define for "
|
||||
"'RELEASE'</li>"
|
||||
"<li style=\"margin-left:1em\">use '-U__clang__' to remove the preprocessor #define "
|
||||
"for "
|
||||
"'__clang__'</li>"
|
||||
"<li style=\"margin-left:1em\">use '-DFOO=900' to add an integer preprocessor "
|
||||
"define</li>"
|
||||
"<li style=\"margin-left:1em\">use '-DFOO=\"bar\"' to add a string preprocessor "
|
||||
"define</li>"
|
||||
"</ul>"),
|
||||
layout,
|
||||
row);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user