Add custom compilers

To add a compiler that is not listed Preferences > Kits > Compilers or to add a remote compiler, use the Custom option. Specify the paths to the directories where the compiler and make tool are located and set preferences for the compiler.

To add other compilers:

  1. Select Preferences > Kits > Compilers > Add > Custom > C or C++.
  2. In the Name field, enter a name for the compiler.
  3. In the Compiler path field, enter the path to the directory where the compiler is located.
  4. In the Make path field, enter the path to the directory where the make tool is located.
  5. In the ABI field, specify the ABI version.
  6. In the Predefined macros field, specify the macros that the compiler enables by default. Specify each macro on a separate line, in the following format: MACRO[=value].
  7. In the Header paths field, specify the paths to directories that the compiler checks for headers. Specify each path on a separate line.
  8. In the C++11 flags field, specify the flags that turn on C++11 support in the compiler.
  9. In the Qt mkspecs field, specify the path to the directory where mkspecs are located. Usually, the path is specified relative to the Qt mkspecs directory.
  10. In the Error parser field, select the error parser to use. You can add custom output parsers to the list. Select Custom Parser Settings to view and edit their preferences.

See also Add compilers, Add Nim compilers, Compilers, and Add custom output parsers.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.