Compare the .pro-Files from both. Start copy over stuff from one to the other until it does work / no longer work (depending on the direction) to find the difference.