sudo gedit /etc/apt/sources.list
Type that in a terminal, it will open your sources.list in gedit
then add the repository, then save.
Open Synaptic and reload or run apt-get update in a terminal
a repository listing will look something like:
deb
http://http.us.debian.org/debian/ testing main contrib non-free
Where did you find a repository for qt4?