This is the situation.
I have an application which has two different "releases". One is calle "Free" and the other is called "Supporter".
For Symbian, i used to add
or
Code:
EXTRA_NAME=Supporter
in the .pro file and edit the target accordingly:
Code:
TARGET=MyApp$${EXTRA_NAME}
With this simple trick, i can simply rebuild one or the other commenting one line in the pro file and rebulding.
Now, with MeeGo and Maemo this does not work because the target name gets hardwired based on what is input in the projects/run dialog box and when i manually change that, many already generated files does not get updated.
I went around the desktop file and the icon by creating two versions of them, but still i have to manually edit the changelog and control files to manually change the release name.... Which is annoying and always leads to errors/forgot...
Is there a better way to do this?
thanks.