I'm not sure - 5.12 needs at least RedHat 7.4: https://doc.qt.io/qt-5.12/supported-platforms.html