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:
- Select Preferences > Kits > Compilers > Add > Custom > C or C++.
- In Name, enter a name for the compiler.
- In Compiler path, enter the path to the directory where the compiler is located.
- In Make path, enter the path to the directory where the make tool is located.
- In ABI, specify the ABI version.
- 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].
- In Header paths, specify the paths to directories that the compiler checks for headers. Specify each path on a separate line.
- In C++11 flags, specify the flags that turn on C++11 support in the compiler.
- In Qt mkspecs, specify the path to the directory where mkspecs are located. Usually, the path is specified relative to the Qt mkspecs directory.
- 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.