Need Help to view qt4 standard icons

Asked By 30 points N/A Posted on -
qa-featured

 

Hello guys!!!!!!!!!!

I need help to view qt4 standard icons. I want to add a “warning” icons if it contains invalid data.  I have tried this :(QStyle::standardIcon(QStyle::SP_MessageBoxWarning) . But it does not work always.

Can anybody help? Thanks in advance.

SHARE
Best Answer by Lopezs Anderson
Best Answer
Best Answer
Answered By 0 points N/A #134233

Need Help to view qt4 standard icons

qa-featured

This problem occurs due to cursor theme which is located in Qt4 application interface often changes because of the prior system settings/configuration settings. An easy way to get rid of this problem and to get  the default Qt4 cursor back is the following method;

First create .icons/default folder; and this is mandatory

paste the following texts in index.theme

Qt Code:

Switch view

1.    [Index Theme]

2.    Name = Default

3.    Inherits = crystalblue

[Index Theme]

Name = Default

Inherits = crystalblue


I expect this solution will be benefited you.

 

Answered By 0 points N/A #134234

Need Help to view qt4 standard icons

qa-featured

Switch view

Hello Mr.Zenith.You are welcome.

There might be some problems in your configuration settings.It often happens so.

You just need to follow the below steps:-

1st of  all,open it.

go to- 'Index Theme' make the 'Name' Default.

Then make- Inherits=crystalblue.

Completing all these,you can get your desierd icons.

Thank you for your question.Feel free on Techyv.

Related Questions