Please do not use the Reply button to ask a new question to a mailing list; it looks like an off-topic question in an existing thread. Please send a new message to qt-crea...@trolltech.com.
Meanwhile, to respond to your question... It's possible, but it has some limitations. First, you must rebuild Qt as a set of static libraries. (That is, add the -static flag to configure.) Then you have to add this new Qt installation to Creator. Finally, rebuild your application. There are several disadvantages to static compilation: * You can't do both static and 64-bit on Mac until 4.6.0. (Of course, on Mac there's better solutions than static anyway.) * Qt's plugin system is disabled, which can cause problems for things like SQL drivers and Phonon. * If you're distributing a closed-source application using LGPL Qt, static compilation introduces a major headache; the LGPL requires that the recipient of the program has to be able to relink the program with a modified version of the library. If you're not using plugins (including the plugins included with Qt), and you're only worried about the single executable file on Windows, and you're distributing an open-source application (or if you own a commercial license), you're in the clear. If you need anything different, static linking is probably not a good idea. /s/ Adam On Thu, Dec 17, 2009 at 7:02 AM, Gaurav Purohit <gaurav.puro...@dspg.com> wrote: > > can we buil a single exec with the qt creator please mention , so that > application i can use without installation of Qt everywhere and give to > someone to use as a general executable. > > please help how to build it with Qt creator in projects menu options > > ______________________________________________________________________ > DSP Group, Inc. automatically scans all emails and attachments using > MessageLabs Email Security System. > _____________________________________________________________________ > > _______________________________________________ > Qt-creator mailing list > Qt-creator@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-creator > > _______________________________________________ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator