Skip to content

Latest commit

 

History

History
137 lines (83 loc) · 2.6 KB

CppLink.md

File metadata and controls

137 lines (83 loc) · 2.6 KB

 

 

 

 

 

 

to link is combining all compilation units of a project into a single executable, which is performed by a linker.

 

Linking takes place after compiling. An error during linking is called a link error.

 

There are two types of linkage:

 

 

 

 

 

Qt Creator Linking against a library in Qt Creator

 

Linking against a library in Qt Creator depends on your operating system:

 

 

 

 

 

 

 

When you want to create a stand-alone application (that is: no DLL's nor LIB's, just one single executable file), you will need to do static linking.

 

 

 

 

 

External links

 

 

 

 

 

 

 

  1. John Lakos. Large-Scale C++ Software Design. 1996. ISBN: 0-201-63362-0. Chapter 1.1.2
  2. John Lakos. Large-Scale C++ Software Design. 1996. ISBN: 0-201-63362-0. Chapter 2.3.1