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

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 <>
Reviewed-by: default avatarAndré Hartmann <>
Reviewed-by: default avatarLeena Miettinen <>
parent 2bd9fb45

42.2 KB | W: | H:


30.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

12.4 KB | W: | H:


67.1 KB | W: | H:

  • 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
\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.
......@@ -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.
\section1 Troubleshooting MinGW Compilation Errors
Supports Markdown
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