[Qt-creator] Static configuration
Jesús Fernández
jsfdez at gmail.com
Wed Feb 11 18:48:54 CET 2009
You need to build the Qt without thread exception support:
In
mkspecs\win32-g++\qmake.conf
You need to remove -mthreads from the key QMAKE_LFLAGS
And the dll can be removed
On Wed, Feb 11, 2009 at 6:43 PM, M. Bashir Al-Noimi <mbnoimi at gmail.com>wrote:
> Adam Higerd wrote:
>
> I could be wrong, but I'm pretty sure you need a static build of Qt if
> you want to do static builds of your applications.
>
>
> I prefer to get a strict confirmation about it, is there anyone can tell me?
>
>
> Consider this your strict confirmation. Qt does not build both static
> and shared libraries with a single installation; compiling static
> requires a static build and compiling dynamic requires a dynamic build.
>
> When multiple versions (or builds) of Qt are installed, you choose
> between them based on which qmake binary you execute. (On my system I
> have the static build's qmake symlinked to /usr/bin/qmake-static.)
>
>
> Hi All,
>
> OK, that's clear now.
>
> By returning to my second question:
>
> yesterday I re-built Qt with -static option and after 7 hours it built
> successfully, but I noticed that all generated applications need
> mingwm10.dll, while last time I didn't face this problem. Could you tell me
> why?
>
> Do you have any idea about a solution for the problem?
>
>
>
> -----
> Best Regards
> Muhammad Bashir Al-Noimi
> My Blog: http://mbnoimi.net/
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090211/e4ab9d24/attachment.html
More information about the Qt-creator-old
mailing list