April 20, 2012

KakaPluto KakaPluto
Lab Rat
2 posts

How to speed up Qt GUI based app launch speed ?

 

I am working on a project to make a app with GUI based on Qt , on linux ,in fact Meego.This app is the first GUI app to launch after the system boot.It launch very slow .I think it is the Qt dynamic lib loading that take the most of the app launch time . So how to speed up the launch ?
Also I want to “Preload “ Qt dynamic libs while the system booting, so my app could launch faster ,is there any way to preload that ?

2 replies

April 20, 2012

AcerExtensa AcerExtensa
Robot Herder
570 posts

Linux pre-load method is to set environment variable LD_PRELOAD.

 Signature 

God is Real unless explicitly declared as Integer.

April 20, 2012

KakaPluto KakaPluto
Lab Rat
2 posts
AcerExtensa wrote:
Linux pre-load method is to set environment variable LD_PRELOAD.

LD_PRELOAD is not exactly what I want .I want Qt libs be loaded into memory while the system boot ,LD_PRELOAD could not do this I think .

 
  ‹‹ mysql plugin not loaded when running in debug mode      QSharedDataPointer and QSharedData compile problem ››

You must log in to post a reply. Not a member yet? Register here!