(C++) Linker
March 10, 2018 · View on GitHub
The linker links compilation units of a project into a single executable.
Linking takes place after compiling. An error during linking is called a link error.
Use a custom linker in Qt Creator
Add (something like) the following lines to your Qt project file (from [1]):
QMAKE_CXX = c:/Dev-Cpp/bin/g++
QMAKE_LINK = c:/Dev-Cpp/bin/g++
```
## External links
* [Wikipedia page about linker](http://en.wikipedia.org/wiki/Linker_%28computing%29)
* [CppCon 2017: Nir Friedman 'What C++ developers should know about globals (and the linker)'](https://youtu.be/xVT1y0xWgww)
## [References](CppReferences.md)
* 1. [QtForum.org post](http://www.qtforum.org/article/33565/specifying-the-linker.html)