Results 1 to 4 of 4

Thread: What's the effect of nmake on a downloaded Qt package?

  1. #1
    Join Date
    Apr 2012
    Posts
    11
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default What's the effect of nmake on a downloaded Qt package?

    I recently downloaded Qt 4.8.2 . I see that the bin directory contains all DLL's and the lib directory contains the lib files necessary to build.
    Now, when I run configure and nmake from a VS2010 command prompt (32 bit, so NOT x64/Win64 !), these DLL's and libs are rebuilt, and they are (slightly) different. Also, the lib directory now contains the DLL's as well.

    1) Why are there differences in the delivered files and the rebuilt files (I think it cannot be explained only by included build date/time, there is more difference).
    2) What's the use of having the DLL's (the same!) in both the bin and lib directories?

    thanks

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: What's the effect of nmake on a downloaded Qt package?

    1. You have potentially used a slightly different compiler and linked to slightly different side-by-side assemblies with different options in force.

    2. UNIX-like (sane) platforms separate dynamic libraries from executables and have a separate search path, Windows does not. Windows dev environments typically leave static and link libraries in a separate directory. The build scripts build all the libraries in "libs" and, on Windows, copies the resulting DLLs in to bin so they are found in the PATH at run-time.

  3. #3
    Join Date
    Apr 2012
    Posts
    11
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: What's the effect of nmake on a downloaded Qt package?

    Thanks, Chris.

    Now if I want to use those DLL's, should I better use the pre-delivered ones or the ones built myself?
    I'm targeting an as broad as possible range of OS versions (from XP to the upcoming Win8), so I suppose that would be the pre-delivered ones as the guys at Qt probably better know what they are doing than I do?

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: What's the effect of nmake on a downloaded Qt package?

    If you have no reason to rebuild Qt then you may as well use the shipped binaries. The only requirement is that the application and the libraries are built using the same brand of compiler: Microsoft, GNU GCC (MingW), ICC etc.

Similar Threads

  1. Replies: 8
    Last Post: 4th May 2015, 02:16
  2. Better usage of a downloaded binary
    By Momergil in forum Qt Programming
    Replies: 3
    Last Post: 8th March 2012, 16:57
  3. Replies: 1
    Last Post: 8th December 2011, 08:04
  4. Trojan in Qt 4.7.1 Windows Installer (Non Creator) downloaded from Qt Website
    By Gavin Harper in forum Installation and Deployment
    Replies: 2
    Last Post: 17th November 2010, 21:54
  5. Replies: 11
    Last Post: 20th March 2007, 09:51

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.