hi , all.

Now I have a question , My Widget Initialize the display so slow.

code:
MyWidget * pWidget = new MyWidget();//takes 200~300 ms
ui->stackedWidget->addWidget(MyWidget);//takes 200~300ms

MyWidget is my custom Widget. there are many "MyWidget" in my App.

each MyWidget need invoke "new MyWidget();".

MyWidget have many QWidget,QPushbutton,QLabel etc., about 50.

each MyWidget use Qt Style Sheets and lots of images .

i use qApp->setStyleSheet(style) in function main();

sorry , my english sucks. I wrote down some ideas. Let me know what you cannot read.

Win7 Qt 5.4.2

inter core i5-4460 , ram 8GB

Post your comments here.