Ach, sorry, looks like it's as simple as CONFIG += RELEASE. For some reason it wasn't most of the projects I have created, but was in one I found.
On 10/10/11 14:11, Robert Wood wrote: > From what I understand and have read, the debug version of the > executable file produced by Creator contain a whole lot more debugging > information and that's why they're bigger (and presumably slower). > > I would have expected to be able to go into the Project tab of creator, > choose Release from the little drop down box and recompile to produce a > smaller executable. Indeed on one of the Windows-only projects I have, I > could see a smaller .exe file in the release directory, when I tried > running it, it gave me a weird error about entry points, so I thought > I'd clean it and try again. Clean didn't clear the release directory's > contents, so I tried deleting all and recompiling, but I just can't get > it to make me a .exe in the release folder at all. Switching back to > Debug in the drop down box gives me a .exe in its directory. > > Using Linux on a different project I can change between Debug and > Release in the drop down box and create slightly different sized > executables in the same projectname-build-desktop/ directory, but clean > does not delete anything, I have to use Dolphin to delete the files and > then it produces new files. We're only talking a few k difference though. > > Can anyone advise me on this in relatively simple terms please? I found > a document called creator-build-settings on the qt.nokia site and that > seems to suggest I have basically understood, but I must be missing > something fundamental here in my understanding of how this all works > because It's just not behaving as I'd expect! > > Thanks! > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-creator > _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
