Installing dependencies for xconfig

On a fresh Debian system, install:

apt-get install libqt4-dev qt4-qmake libncurses5-dev build-essential