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 Name, enter a name for the compiler.
  3. In Compiler path, enter the path to the directory where the compiler is located.
  4. In Make path, enter the path to the directory where the make tool is located.
  5. In ABI, specify the ABI version.
  6. In Predefined macros, specify the macros that the compiler enables by default. Specify each macro on a separate line, in the following format: MACRO[=value].
  7. In Header paths, specify the paths to directories that the compiler checks for headers. Specify each path on a separate line.
  8. In C++11 flags, specify the flags that turn on C++11 support in the compiler.
  9. In Qt mkspecs, specify the path to the directory where mkspecs are located. Usually, the path is specified relative to the Qt mkspecs directory.
  10. In Error parser, 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.

Copyright © The Qt Company Ltd. and other contributors. 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.