2020-02-18 03:00 - Edit on GitHub

Use these instructions if you cannot install Polyphone on your Fedora distribution with the available installers in the section “Download” (verified: Aug 7, 2016 on Fedora 24, 64bit).


Qt installation

After a base installation of Fedora, install the following packages (including a compiler) as pre-requisites for Qt development:

sudo dnf update
sudo dnf groupinstall "C Development Tools and Libraries"
sudo dnf install gcc-c++
sudo dnf install mesa-libGL-devel

Then you can either install the default Qt framework with the following command:

sudo dnf install qt-creator

or install the latest version of the Qt framework and Qt Creator available here. Download the Qt installer and use these commands to add execution permission and run the installer (you may have to adjust the version number):

chmod 755 qt-unified-linux-x64-2.0.3-1-online.run

Just select default components as proposed — unless you want more for other purposes.

Qt setup in Fedora
Qt setup in Fedora

If you want to use Qt Creator install the Polyphone dependencies below and continue with this document: build with Qt Creator.

Polyphone dependencies

Install the following dependencies (if you have Synaptic installed you could alternatively use it for installation):

sudo dnf install qt-devel
sudo ln -s /usr/bin/qmake-qt4 /usr/bin/qmake
sudo dnf install zlib-devel
sudo dnf install alsa-lib-devel
sudo dnf install jack-audio-connection-kit-devel
sudo dnf install portaudio-devel
sudo dnf install libogg-devel
sudo dnf install libvorbis-devel



First, get Polyphone sources from here or from Github.

polyphone.pro modifications

Modify the file polyphone.pro to use distributed versions for rtmidi, stk and qcustomplot. Uncomment the following lines by removing the leading ‘#’:


Note: instead of these modifications you could try to build Polyphone with the Fedora / RPM distributions for these packages. The installation commands would be:

sudo dnf install rtmidi-devel
sudo dnf install stk-devel
sudo dnf install qcustomplot-devel

However, running qmake afterwards, it claimed to not recognize rtmidi on the system. As on Windows and Mac Systems the use of the local distributed rtmidi, stk and qcustomplot versions are forced you may not saw any benefit in sorting out the issue with the rtmidi.

Getting the executable

Go into source directory (where the file polyphone.pro is located), open a terminal and build Polyphone with this command:

qmake && make

If everything goes well you will have the compiled file polyphone in the RELEASE subdirectory.


See this topic if you need more information or for getting some help.

Special thanks to Tomotello for this article.