Can I create a release version of my app from QtCreator?
Like so many aspects of QtCreator this does not seem to be documented.
One funny aspect of QtCreator is that there is in the Compile Menu an item (which I translate from the French) which must go as
"define the compilation comfigration" This leads on my PC to a ticked Debug, and no amount of clicking will remove the tick.
So this seems to be for informational purposes only or it's a bug.
1 Attachment(s)
Re: Can I create a release version of my app from QtCreator?
Salut,
on the left bar you have a button called projects. In there you can define how your application should be build, executed etc. By a long press on the bottom located buttons "run" and "debug" you can choose the configuration which should be run.
EDIT: or there:
1 Attachment(s)
Re: Can I create a release version of my app from QtCreator?
Salut,
From your screenshot you have a choice of Debug or Release.
I don't get such a choice, but this might be due to the fact that my QtCreator is 1.30 based on Qt 4.6.
I'm going to download the latest version and then complain if I get the same problem.
Henri
Re: Can I create a release version of my app from QtCreator?
Howdy ;)
I had this problem in reverse: needed a debug version and my only choice was release.
I found this solution somewhere, maybe on here, can't find the source right now.
- Make sure the project isn't open in Qt Creator
- Delete the yourProjectName.pro.user file in your project directory.
- In Qt Creator do File->Open File or Project->yourProjectName.pro
- In the "Import existing build settings" window uncheck Import existing build settings.
There's probably a simpler solution, but I couldn't find one.
Re: Can I create a release version of my app from QtCreator?
Thankyou, I'll try it out.
Re: Can I create a release version of my app from QtCreator?
You're welcome. I downloaded Qt Creator 2.0 from here and they seem to have fixed our problem in this release. FYI I'm using it with Qt 4.6.0 and haven't had any problems, yet.