summaryrefslogtreecommitdiff
path: root/doc/src/projects/creator-projects-compilers.qdoc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2013-11-01 15:19:46 +0100
committerLeena Miettinen <riitta-leena.miettinen@digia.com>2013-11-04 14:39:36 +0100
commit3bbda25d3db3fee8828436a7582c5463d618704e (patch)
treebb2ada8ef1e879f823915a61880908d7d7f7b74a /doc/src/projects/creator-projects-compilers.qdoc
parent2bd9fb45683dcb694ff155d1db544c00fa79b978 (diff)
downloadqt-creator-3bbda25d3db3fee8828436a7582c5463d618704e.tar.gz
Doc: new Compiler options in Build & Run options
Describe the new platform codegen and linker flags options and the custom parser settings. Update and add screenshots. Change-Id: I64498258930ce1f912bcd8891a6b55f40d903f2c Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com> Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Diffstat (limited to 'doc/src/projects/creator-projects-compilers.qdoc')
-rw-r--r--doc/src/projects/creator-projects-compilers.qdoc33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/src/projects/creator-projects-compilers.qdoc b/doc/src/projects/creator-projects-compilers.qdoc
index 074ed3e5f4..4efe75f5d1 100644
--- a/doc/src/projects/creator-projects-compilers.qdoc
+++ b/doc/src/projects/creator-projects-compilers.qdoc
@@ -83,6 +83,14 @@
\li In the \gui{Compiler path} field, enter the path to the directory
where the compiler is located.
+ \li In the \gui {Platform codegen flags} field, check the flags passed
+ to the compiler that specify the architecture on the target
+ platform.
+
+ \li In the \gui {Platform linker flags} field, check the flags passed to
+ the linker that specify the architecture on the target platform.
+ The linker flags are used only when building with Qbs.
+
The other settings to specify depend on the compiler.
\endlist
@@ -127,6 +135,31 @@
where mkspecs are located. Usually, the path is specified relative
to the Qt mkspecs directory.
+ \li In the \gui {Error parser} field, select the error parser to use.
+ Select \gui Custom, and then select \gui {Customer Parser Settings}
+ to specify settings for a custom parser:
+
+ \image qtcreator-custom-parser.png
+
+ \list 1
+
+ \li In the \gui {Error message capture pattern} field, specify
+ a regular expression to define what is an error. The custom
+ parser matches the compile output line by line against the
+ regular expression and displays errors in the \gui Issues
+ output pane. Create regular expression groups that contain
+ the file name, line number and error message.
+
+ \li In the \gui {Capture Positions} field, map the regular
+ expression groups to \gui {File name}, \gui {Line number},
+ and \gui Message.
+
+ \li In the \gui {Test} group, you can test how the message that
+ you enter in the \gui {Error message} field is matched when
+ using the current settings.
+
+ \endlist
+
\endlist
\section1 Troubleshooting MinGW Compilation Errors