I am making an application for Mac OS 10.6.2 using Qt 4.7.
I want to start my application on startup, how can I do this using Qt code ?
You cannot do this in Qt code. You have to create a startup item yourself. Have a google search on LaunchAgents and LaunchDaemons for the details.