@Fahad-H
I need to sort out an issue in an existing Ubuntu 10.04 system which runs qt4 package.
I assume the machine you are using is not the actual one which was used to do the compilation originally?
I tried to install gcc drivers and all, but still some compatibility issues are there and the issue still persists.
You are going to need to correctly install and set up g++.
http://ubuntuguide.net/how-to-install-and-setup-gcc-4-1g4-1-in-ubuntu-10-0410-10
https://askubuntu.com/questions/928510/problem-in-installing-g-in-ubuntu-10-04
https://stackoverflow.com/questions/14969853/what-packages-are-needed-on-ubuntu-10-04-to-run-programs-compiled-with-gcc-g-4
It might help if you knew precisely what version of g++ the software you have was compiled for when working. But I don't suppose you know that?
BTW:
I just updated one qt4 (*.pro) program
Do you actually need to update the .pro file for some reason? Or do you mean you've made a change in the source code?