You need to have the python-pyqt development packages installed (specifically, you need the binary pyuic4). After you check out, run tools/build_ui.sh first, then change into the ankiqt dir and run ../tools/translate.sh. Do the same for the libanki dir. Then ./anki