
#/usr/bin/qmake -project
#/usr/bin/qmake

qmake-qt4 -project
qmake-qt4

# patch the makefile

mv Makefile Makefile.bak
cat Makefile.bak | sed -e '/LIBS.* =/a\LIBS += `imlib2-config --libs` `/usr/bin/Magick++-config --libs`' > Makefile

make -s
