Install targets

Unless your project is very simple, it needs some data files like user interface description files. These files are typically copied in standard directories and read from there. It means that you cannot run your program from the build directory. You need to install it in order to copy all these files in the final place, by example in a subdirectory of /usr/local.

There are several possibilities to install targets or a project.

  1. From the main menu, select Build ▸ Install to install all files in the same directory as the current edited file.

  1. From the main menu, select Build ▸ Install Project to install all project files,

  1. From the file manager pane, select a file or a directory.

  2. Click on the right mouse button to make the file manager context menu appears and select Build ▸ Install to install all files in the directory currently selected or the parent directory of the currently selected file.

  1. From the project manager pane, select a source file or a target.

  2. Click on the right mouse button to make the project manager context menu appears and select Build ▸ Install to install all files in the directory containing the currently selected file or target.

If you install the program in a system directory, you can have to use su or sudo to have enough right. See Autotools Build Preferences Dialog for more information.