Build Impresario from source

If you cannot make use of the prebuild binaries of Impresario, e.g. you require a 32bit version, you have to build Impresario from source. This section shows how to do this.

Get source code

You can get the most up to date source code from Impresario’s GitHub repository. Here you can download a zip file containing the source code or if you like to stay connected with the repository, open a command line and run:

git clone https://github.com/llibuda/impresario.git

You should now have a directory called impresario in the location from where you run the git command. The directory structure looks like this:

impresario
├─ .git
├─ development
│  ├─ impresario
│  │  ├─ components
│  │  ├─ impresario   
│  │  └─ misc
│  ├─ impresario-interface_1.0.0
│  └─ impresario-interface_1.0.1
├─ doc
├─ licenses
└─ resources

Run Qt Creator

Start Qt Creator and open the project file impresario/development/impresario/impresario.pro.

Qt Creator will ask you to configure your project in a similar dialog as depicted below:

Qt Creator configuration dialog

Qt Creator configuration dialog (Click to enlarge)

Please choose the kit you like to use for your build. Refer to Setup of Development Environment to see which kits are supported on the different platforms. Press the Configure Project button to prepare the project for build.

Finally, you can build Impresario by selecting Build Project "impresario" from Qt Creator’s Build menu.

Run Impresario

After a successful build you will find the following directory structure:

impresario
├─ .git
├─ bin_...
├─ development
│  ├─ impresario
│  │  ├─ build-impresario
│  │  ├─ components
│  │  ├─ impresario
│  │  └─ misc
│  ├─ impresario-interface_1.0.0
│  └─ impresario-interface_1.0.1
├─ doc
├─ lib
├─ licenses
├─ processgraphs
└─ resources

In the build-impresario directory and its subdirectories Qt Creator stores all intermediate files generated during compilation and linking.

The bin_... directory contains the executable with all required files. On Windows platforms you can run Impresario.exe from this directory. On Linux systems you have to start Impresario by calling the shell script impresario.sh.

Please note: When running Impresario now you won’t have any macro libraries and online help. These components have to be added manually. Example macro libraries can be found in the GitHub repository impresario-macros. Or you create your own macro libraries. How this is done is described in the remaining sections of this Developer’s Guide.

The online help is available in the separate repository impresario-doc. In the release section you will find the latest help file which you just have to copy to Impresario’s documentation directory.