Results 1 to 4 of 4

Thread: Correct DLLs for simple Windows deployment

  1. #1
    Join Date
    Nov 2010
    Posts
    20
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Correct DLLs for simple Windows deployment

    Hello,

    before going at a serious attempt to create an application with Qt I'd like to manage deploying a simple example, but this does not work right off the bat.

    Theory:
    Copy executable and Qt DLLs into the same folder and run it. DONE.

    Reality:


    I have found out this happens when using the wrong DLLs (whatever that means), but I can't seem to find any others than the ones which happen to be located at C:\QtSDK\QtCreator\bin for me. I really hope a working preassembled bundle is around somewhere.

    Thanks for any help.

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Correct DLLs for simple Windows deployment

    Which version of SDK are you using?

    Check dlls in this path C:\QtSDK1.2\Desktop\Qt\4.8.0\mingw\bin\

    Also be sure you differentiate between QtCore4.dll (Release) and QtCore4d.dll(Debug)

    To make it simple, find out the path of qmake.exe being used, use the dlls from the same path.
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  3. #3
    Join Date
    Feb 2012
    Posts
    9
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Correct DLLs for simple Windows deployment

    Yo

    I presume, there's a mismatch in Version with ur Binary and the DLL's


    Check ur Qt compiler version (eg;- Qt 4.7.4)

    Binary Build Version (eg;- executable generated using Qt 4.7.4 )

    Qt DLL Build Version (eg;- DLL's built for Qt 4.7.4)


    All these should be same

  4. #4
    Join Date
    Nov 2010
    Posts
    20
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Correct DLLs for simple Windows deployment

    My SDK version is 4.7.4. Santosh was right. The DLLs from the folder he specified did the job. Deployment successful and working. =)
    Thanks!

Similar Threads

  1. Replies: 2
    Last Post: 6th December 2011, 11:52
  2. Windows 7 Deployment
    By mlheese in forum Installation and Deployment
    Replies: 0
    Last Post: 10th November 2010, 21:21
  3. Deployment Procedure On Windows On Linux and Windows
    By Harshith J.V. in forum Installation and Deployment
    Replies: 4
    Last Post: 9th July 2009, 11:27
  4. deployment of Qt 4.3.4 exe on Windows?
    By vishal.chauhan in forum Installation and Deployment
    Replies: 5
    Last Post: 1st April 2008, 12:30
  5. How to deploy Qt-dlls for windows
    By niko in forum Installation and Deployment
    Replies: 5
    Last Post: 18th March 2007, 18:11

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.