[Qt-interest] QMessageBox icon don't show

Marcelo Estanislau Geyer estanisgeyer at hotmail.com
Tue Apr 7 16:16:02 CEST 2009


Hi,


I'm simply trying to display a QMessageBox but the "standard" icon is
not showing. I'm using Linux Fedora 10 and QT 4.5.

Here is the very simple example code:

QMessageBox msg(QMessageBox::Warning, QString::fromUtf8("Application Test"), QString::fromUtf8("test"), 0, this);
msg.addButton(QString::fromUtf8("&OK"), QMessageBox::AcceptRole);
msg.exec();

Thanks,

Marcelo E. Geyer
Brazil/RS

_________________________________________________________________
Novo Windows Live: Messenger 2009 e muito mais. Descubra!
http://www.windowslive.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090407/17a09ef9/attachment.html 


More information about the Qt-interest-old mailing list