Then try to remove KDE3. It will remove Gambas and other Qt3 applications as well. The point is that all Qt3 apps removed on both installation and deinstallation of KDE3.