The .deb file is generated from the tar.gz file by un-tar'ing it and then run Code: dpkg-buildpackage -rfakeroot -sa -S -i in the kmplayer directory. I do that inside scratchbox and since I use Vim as editor, I never bothered to look at qtcreator.
dpkg-buildpackage -rfakeroot -sa -S -i