OK, if it is QT only then you can also do this without hacking the .PRO file. In your .PRO:
symbian {
supported_platforms = "; Application that only supports N8" \
"[0x20029A73],0,0,0,{\"Nokia N8 UID\"}"
# Remove the default platform dependencies
default_deployment.pkg_prerules -= pkg_platform_dependencies
packageheader = "$${LITERAL_HASH}{\"MyAppName\"}, \
(0x20000000), 0, 10, 0, TYPE=SA"
# Add in the new platform dependencies
sisInformation.pkg_prerules = packageheader supported_platforms
}
DEPLOYMENT += sisInformation
Obviously you will need to replace '0x20000000' with your app UID, change the app name and put in the right platform UID