Update
I got my hands on a Mac OS 10.10. This added some complications, such as too old OS and certain nonexistent libc features. However, I managed to compile the CLI version. I will see to Qt for both Mac and Linux at a later date. If the CLI version can be compiled, the Qt version most certainly can as well.