I run my QT app without sudo permission but during running phase of the app I need to install the .deb so I am running the command dpkg -i mydeb.deb with qprocess in QT or some other commands which needed to sudo permisssion.

I do not need the user interaction to enter the password for the same. So how can I do the same in QT app in ubuntu 14.04 ? Thanks