jimfan
19th December 2007, 06:30
I am not sure if this is the right place for Qt/CE but please take a look at this problem.
Our target is a Davinci 300Mhz platform, LCD resolution is 800x480, we are trying to use the preview version of Qt/CE as our GUI toolkit. We've tried both 4.3.2 and 4.4 and both had the same performance issues.
The widget has four QPushButtons which are styled through a stylesheet like this:
PolyQPushButton
{
border: none;
background-image: url(Skins/default/softkey.png);
background-repeat: no-repeat;
background-position: bottom center;
min-width: 116px;
max-width: 116px;
min-height: 30px;
max-height: 30px;
color: white;
}
PolyQPushButton:pressed
{
background-image: url(Skins/default/softkey-pressed.png);
}
CSoftKeyWidget
{
background-image: url(Skins/default/softkeybk.png);
background-repeat: no-repeat;
min-width: 720px;
min-height: 50px;
}
The problem I am having is, whenever we update the labels of the QPushButton, it takes about 100-150ms to finish the rendering.. We are having problems with other widgets too on Qt/CE.
My question is, have any of you done performance evaluation on Qt/CE? Is there anyway that we could speed things up?
Thanks in advance for your help!
Jim
Our target is a Davinci 300Mhz platform, LCD resolution is 800x480, we are trying to use the preview version of Qt/CE as our GUI toolkit. We've tried both 4.3.2 and 4.4 and both had the same performance issues.
The widget has four QPushButtons which are styled through a stylesheet like this:
PolyQPushButton
{
border: none;
background-image: url(Skins/default/softkey.png);
background-repeat: no-repeat;
background-position: bottom center;
min-width: 116px;
max-width: 116px;
min-height: 30px;
max-height: 30px;
color: white;
}
PolyQPushButton:pressed
{
background-image: url(Skins/default/softkey-pressed.png);
}
CSoftKeyWidget
{
background-image: url(Skins/default/softkeybk.png);
background-repeat: no-repeat;
min-width: 720px;
min-height: 50px;
}
The problem I am having is, whenever we update the labels of the QPushButton, it takes about 100-150ms to finish the rendering.. We are having problems with other widgets too on Qt/CE.
My question is, have any of you done performance evaluation on Qt/CE? Is there anyway that we could speed things up?
Thanks in advance for your help!
Jim