Does Minotor build on Linux in 2026?
October 2026 · minotor.org
Yes, on Ubuntu 24.04 and Debian 13, once you change the same two lines as on the Mac, one of them slightly differently. Last month's macOS test left Linux open, so this time we ran the build in clean containers on an x86_64 server, each started from an empty image.
The machines
- Ubuntu 24.04.5 LTS, g++ 13.3.0, Qt 5.15.13 from the archive
- Debian 13 (trixie), g++ 14.2.0, Qt 5.15.15 from the archive
- Minotor at commit
9251ecf, the final one
Attempt 1: what the README says
The README tells you to install qt5-default. On Ubuntu 24.04 apt answers that it has no such package, and the same goes for Debian 13. Installing the pieces by hand works: qtbase5-dev, qt5-qmake, libasound2-dev and build-essential. Then qmake and make stop after 18 seconds:
Core/ledmatrix.h:31:10: fatal error: qextserialport.h: No such file or directory
It is the error the Mac gave, for a different reason. On Linux the project file expects QExtSerialPort as a system package. Neither distribution ships one any more, so there is nothing to install.
Attempt 2: fall back to the bundled copy
The source tree already carries QExtSerialPort in libraries/. In Minotor.pro, unix { becomes unix:packagesExist(qextserialport) {: use the system library where pkg-config finds it, the bundled copy everywhere else. Add the same #include <QPainterPath> the Mac build needed, and it compiles on both systems:
- about 2 minutes with
make -j2on a container limited to one and a half CPU cores - 115 warnings, nearly all of them Qt APIs marked deprecated
- minotor, a 1.2 MB x86_64 binary on Ubuntu and 1.1 MB on Debian
Started with Qt's off-screen platform, it stayed up until we stopped it after 8 seconds. The container had no sound devices, so ALSA could not open /dev/snd/seq and MIDI input did not come up, and it said no LED matrix was connected. Both are what an empty container should produce. One line in the log looks odd: “Windows does not support baudRate: 1000000”. It is a portability notice from the bundled serial library, printed on every platform.
The change is a 2-file patch, GPL-3.0. Apply it with git apply in a clone of the repository. We have not tried this version on a Mac; there the September patch is the tested one.
Still untested
We ran no desktop session, connected no MIDI controller and drove no LEDs. A real install needs your user in the dialout group for the serial port and the ALSA sequencer (snd-seq) for MIDI. Qt 5 is still in both distributions, but the Qt Company stopped supporting 5.15 in May 2025, so the long-term answer remains a Qt 6 port. If you get Minotor driving a matrix on Linux, write to [email protected] and we will add your notes here.
