Results 1 to 5 of 5

Thread: QtDIR\bin vs QtDIR\qt\bin libraries

  1. #1
    Join Date
    Feb 2010
    Location
    Poland
    Posts
    27
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QtDIR\bin vs QtDIR\qt\bin libraries

    Hi.
    I noticed that in my Qt installation directory i have two folders with Qt libraries (such as QtCore4.dll etc). One of them (QtDIR\bin) contains libraries which are smaller then those of the second (QtDIR\qt\bin) folder. What should I do to be able to use this smaller files? Right now, when I copy them to my app release dir and I'm trying to open program - I get error "Procedure entry point not found (...)". I see this message in polish, so it could sound a bit differently in english.

    Thanks in advance.

  2. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: QtDIR\bin vs QtDIR\qt\bin libraries

    Why would you want to use the smaller files when they, based on your experience, do not work? When it comes to DLLs, smaller usually means older and those files are probably from an older Qt version and will not work with your application. You can see what Qt version they belong to by checking the files' properties.

  3. #3
    Join Date
    Feb 2010
    Location
    Poland
    Posts
    27
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QtDIR\bin vs QtDIR\qt\bin libraries

    Both are from the same Qt version.

    I want to use smaller files, because... they are smaller. Installer will be "lighter" -> faster download, better "impression" on the user etc.
    Anyway.. it's not important why, important how

    Anyone have any idea?

  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: QtDIR\bin vs QtDIR\qt\bin libraries

    I assume your "QtDIR" is an SDK install location. The files in bin directory are the run-time libraries to support Qt Creator and were built with the compiler used to build Qt Creator (MSVC).

    The files in the qt/bin directory are the ones built with whatever compiler was used to build this development version of Qt. If the this is MingW then the files are typically a little larger than the equivalent MSVC versions. These files match your application which is built with the same compiler.

    Nothing stops you using the Microsoft compiler if you are that worried about a few hundred KB.

  5. #5
    Join Date
    Aug 2009
    Posts
    52
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QtDIR\bin vs QtDIR\qt\bin libraries

    If your Qt SDK installed in D:\Qt2010.5\ ,
    Then ,%QTDIR% should be D:\Qt2010.5\qt\ instead of D:\Qt2010.5\

    If you just install Qt Framework, then %QTDIR% is the directory where you install it, such as D:\4.7.3

Similar Threads

  1. Replies: 1
    Last Post: 15th June 2010, 13:25
  2. $QTDIR value for Visual Studio addin
    By pparekh7 in forum Installation and Deployment
    Replies: 0
    Last Post: 5th February 2010, 00:18
  3. VS add-in: _(QTDIR) instead of $(QTDIR)
    By negritot in forum Installation and Deployment
    Replies: 3
    Last Post: 9th May 2009, 19:56
  4. Using .so libraries under Mac
    By maverick_pol in forum Qt Programming
    Replies: 6
    Last Post: 6th January 2008, 22:41
  5. QTDIR in VS2005?
    By gfunk in forum Qt Programming
    Replies: 3
    Last Post: 14th June 2007, 16:41

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.