You have added CONFIG+=mobility and MOBILITY+=location etc. to pro-file? Nokia SDK comes with QtMobility but the version in SDK differs to the version in the phone. You can get new version of MADDE and use it in QtCreator (Options -> Qt4 -> Add new version -> MADDE_PATH/0.6.72/targets/fremantle-pr12/bin/qmake).
error while loading shared libraries: libQtMedia.so.1: cannot open shared object file: No such file or directory