Sign in

Building Polyphone for Fedora

Use these instructions if you cannot install Polyphone on your Fedora distribution with the available installers in the section “Software”.

Prerequisite

Qt installation

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

sudo dnf update
sudo dnf install @development-tools cmake pkgconf

Then install the Qt 6 framework with the following command:

sudo dnf install qt-creator qt6-qtbase-devel qt6-qtsvg-devel qt6-qttools-devel

Polyphone dependencies

Install the following dependencies (if you have a graphical package manager installed you could alternatively use it for installation):

sudo dnf install alsa-lib-devel jack-audio-connection-kit-devel rtaudio-devel zlib-devel libogg-devel flac-devel libvorbis-devel glib2-devel openssl-devel rtmidi-devel libsndfile-devel

Note: with recent versions of Fedora, the package jack-audio-connection-kit-devel may be replaced by pipewire-jack-audio-connection-kit-devel.

Build

Sources

First, get Polyphone sources from here  or from GitHub .

If you want to continue the build with Qt Creator, follow now this tutorial: build with Qt Creator. Otherwise, continue the reading of this document.

Getting the executable

Polyphone is built with CMake, the project being described by the file CMakeLists.txt of the directory sources. At the root of the project (the directory containing sources), open a terminal and build Polyphone with these commands:

cmake -S sources -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel 4

If everything goes well you will have the compiled file polyphone in the directory build/bin. When the build is done with Qt Creator, this file is rather located in the subdirectory bin of the build directory chosen in Qt Creator.

If RtAudio or RtMidi are not available in a compatible version, the copies included in the sources of Polyphone can be used by adding the options -DPOLYPHONE_LOCAL_RTAUDIO=ON -DPOLYPHONE_LOCAL_RTMIDI=ON to the first command. The other options are described in the page Building Polyphone for Ubuntu.

Troubleshooting

This forum category will give you some help if needed.

Polyphone needs you!

Polyphone is free but there are costs associated with its website and development. A small donation will help a lot.

Donate
Learn the basics Try a tutorial
Scroll to
top