Results 1 to 5 of 5

Thread: How to speed up the dynamic lib loading?

  1. #1
    Join Date
    Jun 2011
    Posts
    45
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to speed up the dynamic lib loading?

    I make a app based on Qt,but it launch very slow.I think it's the dynamic lib loading that take the most the launch time ,especially load the QtGui lib .I want to preload the Qt libs to memory before the app launch , then my Qt based apps will launch faster ,how can I achieve this ???

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to speed up the dynamic lib loading?

    You can use system solutions such as readahead or preload. Or you can make your own version of Qt libraries which doesn't have the functionalities you are not using.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jun 2011
    Posts
    45
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to speed up the dynamic lib loading?

    Quote Originally Posted by wysota View Post
    You can use system solutions such as readahead or preload. Or you can make your own version of Qt libraries which doesn't have the functionalities you are not using.
    Thanks for your reply.I want some Qt dynamic libs loaded into memory when the system booting ,so the first Qt app can launch fast .Can you explain more in detials how to do this ?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to speed up the dynamic lib loading?

    No, I can't. Type in "readahead" and "preload" into your favourite search engine or simply download and install preload or readahead and read their docs.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jun 2011
    Posts
    45
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to speed up the dynamic lib loading?

    Quote Originally Posted by wysota View Post
    No, I can't. Type in "readahead" and "preload" into your favourite search engine or simply download and install preload or readahead and read their docs.
    Oh ,I got the detials ,thanks!

Similar Threads

  1. How to speed up the Qt GUI apps launch speed?
    By wshn13 in forum Qt Programming
    Replies: 3
    Last Post: 14th March 2012, 08:37
  2. Replies: 1
    Last Post: 12th January 2011, 20:57
  3. Does OpenGL speed up the loading image?
    By learning_qt in forum Qt Programming
    Replies: 2
    Last Post: 4th December 2008, 09:26
  4. Dynamic resource loading not work in another computer
    By GRUB in forum Installation and Deployment
    Replies: 2
    Last Post: 3rd September 2007, 10:49
  5. Switching static to dynamic ui loading
    By s_a_white in forum Newbie
    Replies: 4
    Last Post: 26th June 2006, 15:57

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.