Results 1 to 2 of 2

Thread: How to use dll on Windows.

  1. #1
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default How to use dll on Windows.

    Hi all

    Working on Qt4.3.4 on Windows XP, I want to use dll with Qt , but dont know how to use.

    Regards
    Merry
    Always Believe in Urself
    Merry

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    258
    Thanks
    22
    Thanked 19 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: How to use dll on Windows.

    What do you mean with "use"? could you please be more specific?
    If you mean using the Qt dlls and plugins, you could put the dll's QtGui4.dll, QtCore4.dll etc. in the same directory as your .exe file. This way they would be found by the application on startup. There are other ways to achieve this though. There are also QLibrary and QPluginLoader that enable you to load dll's at runtime. Read the respective documentation to get more details:

    http://doc.trolltech.com/4.3/deployment.html
    http://doc.trolltech.com/4.3/qlibrary.html
    http://doc.trolltech.com/4.3/qpluginloader.html#details
    Last edited by momesana; 21st April 2008 at 14:10.

Similar Threads

  1. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  2. Replies: 10
    Last Post: 25th February 2007, 00:23
  3. Deploying with MySQL support under Windows
    By KShots in forum Installation and Deployment
    Replies: 1
    Last Post: 12th October 2006, 09:19
  4. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00
  5. MDI windows without QWorkspace
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 16th June 2006, 17:15

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.