Switch from qmake to autotools.