Results 1 to 3 of 3

Thread: Load WebKit dll at run time

  1. #1
    Join Date
    Jan 2006
    Posts
    122
    Thanks
    16
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Load WebKit dll at run time

    Hi all,
    I would like to understnd if it's possible to load a Qt dll when the executable has already been launched.
    This can sound pretty weird, this could save some Mb from the executable to download and let the app start right away.
    I don't know if this can be possible, so write the app that will use webkit dll only if available, if not sonload the dll and use it without restarting.

    Thanks for any tips on that
    Bye

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Load WebKit dll at run time

    You can load libraries on the fly, but it's hard to use them. See QLibrary.

    I'm not sure if this is going to work, but to ease your work you could also create a plugin that is linked against that library. So after you load the library, your can just load the plugin, instead of playing with all that symbol resolution and pointers.

  3. #3
    Join Date
    Jan 2006
    Posts
    122
    Thanks
    16
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Load WebKit dll at run time

    thanks,
    yes I did some test with QpluginLoader and it seems to be the right choice.
    bye

Similar Threads

  1. How to constantly refresh time on a view
    By salmanmanekia in forum Qt Programming
    Replies: 5
    Last Post: 23rd June 2008, 12:44
  2. Replies: 1
    Last Post: 1st February 2008, 18:55
  3. Program not compiling on Fresh install of Leopard
    By dvmorris in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 10:22
  4. QDateTime GMT add sec. or - sec. from locale time....
    By patrik08 in forum Qt Programming
    Replies: 2
    Last Post: 20th February 2007, 16:39
  5. Problem with pointers while using localtime() and time()
    By jamadagni in forum General Programming
    Replies: 7
    Last Post: 11th January 2006, 15:48

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.