[Qt-interest] Static qt build

J-P Nurmi jpnurmi at gmail.com
Thu Oct 22 08:54:26 CEST 2009


On Thu, Oct 22, 2009 at 2:10 AM, Malyushytsky, Alex <alex at wai.com> wrote:
> AFAIK you can't get "totally standalone (no dll's required) application" at least on Windows.
> "Static" version of QT is not self-sufficient since it is built vs dynamic CRT libraries (at least with MSVC).
> All you get is static QT library which still uses CRT dlls.
> My guess is that Qt itself does not probably build static postgre sql static libraries and this why you probably still need that DLLs.
>
> Regards,
>    Alex
>
>
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Eirik Ulvik
> Sent: Tuesday, October 20, 2009 11:57 PM
> To: Qt-interest
> Subject: [Qt-interest] Static qt build
>
> I have built a static version of Qt (4.5.3) which include PostgreSql.
> Everything configures/compiles just fine. The application works like a
> charm except that at runtime it requests all the dll's from postgre sql.
> Are these not compiled into Qt? Do I need static versions of these as
> well to get a totally standalone (no dll's required) application.
>
> Regards,
> Eirik


Why does a statically built Qt use the dynamic Visual Studio runtime
libraries ? Do I need to deploy those with my application ?
http://qt.nokia.com/developer/faqs/why-does-a-statically-built-qt-use-the-dynamic-visual-studio-runtime-libraries-do-i-need-to-deploy-those-with-my-application

--
J-P Nurmi




More information about the Qt-interest-old mailing list