Commit 3bbda25d authored by Leena Miettinen's avatar Leena Miettinen

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: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
parent 2bd9fb45
doc/images/creator-compilers-custom.png

42.2 KB | W: | H:

doc/images/creator-compilers-custom.png

30.6 KB | W: | H:

doc/images/creator-compilers-custom.png
doc/images/creator-compilers-custom.png
doc/images/creator-compilers-custom.png
doc/images/creator-compilers-custom.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qtcreator-toolchains.png

12.4 KB | W: | H:

doc/images/qtcreator-toolchains.png

67.1 KB | W: | H:

doc/images/qtcreator-toolchains.png
doc/images/qtcreator-toolchains.png
doc/images/qtcreator-toolchains.png
doc/images/qtcreator-toolchains.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment