Results 1 to 2 of 2

Thread: Is it recommended to statically built Qt?

  1. #1
    Join Date
    Jan 2008
    Posts
    56
    Thanks
    7
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Is it recommended to statically built Qt?

    Hi all,

    on
    http://trolltech.com/developer/knowl...15.4154694947/
    they say
    "Qt is built using the -MD(d) switch, which links against the dynamic C/C++ runtime libraries. This is necessary as we have experienced memory problems when using anything but the -MD(d) flag, and in general, it is recommended to use."
    Has anyone experienced problems with that? I just switched everything to static linking so I only have to deploy one .exe.

    Regards,

    Rainer

  2. #2
    Join Date
    Aug 2006
    Posts
    250
    Thanks
    19
    Thanked 49 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is it recommended to statically built Qt?

    Microsoft recommends not to statically link against their runtime libs. However I use a static Qt with mingw and it builds into one exe with no problems.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.