Building the library

After defining functions for the library, you can build its shared library (.so) file so that applications can dynamically link in the library functionality.

Note: Qt Creator has many features to make compilation and debugging easier, as explained in "Tips for compiling programs in Qt Creator".
To compile the library:
Select Build > Build Project "QtLibrary".

Qt Creator starts building the library and displays the QCC output in the Compile Output window.

If the build succeeds, the library file will be in the directory specified in the General section of the Build Settings page, which is accessed by clicking the Projects icon on the left side and then selecting the QtLibrary project.

If the build fails, you can review the messages shown in the Compile Output window (which is accessed by clicking the button with the same name at the bottom) to determine the cause of the failure and then take corrective action to fix the project.