Clone qomp git repository to local directory:
git clone https://github.com/qomp/qomp.git
Initialize submodules:
cd qomp
git submodule init
git submodule update
cd qomp
git pull
git submodule update
git clone https://github.com/qomp/scripts.git
cd scripts/macx
./qompbuild
The script will make all the work and then you can find your .dmg under ~/qomp-build folder
cd qomp
qmake PREFIX=/usr
make
sudo make install
cd /d qomp
qmake
mingw32-make
And then you can find binary files under bin folder