|
|
Hi,
I have a problem using QMessageBox on OS X. The dialog is opened but
does not show the text it should. An empty grey window with the buttons
is shown instead. The problem also occurs calling the static methods.
Here is my code:
QMessageBox msgBox;
msgBox.setText(tr("something"));
msgBox.setStandardButtons(QMessageBox::Ok);
msgBox.setDefaultButton(QMessageBox::Ok);
msgBox.setIcon(QMessageBox::Critical);
int ret = msgBox.exec();
QMessageBox::about(this, tr("About Application"),
tr("The <b>Application</b> example demonstrates how to "
"write modern GUI applications using Qt, with a menu bar, "
"toolbars, and a status bar."));
I am using OS X 10.6.2 (Snow Leopard) and QT 4.5.2. As the compiler
warns "Support for this version of Mac OS X is still preliminary" I am
unsure is this could be a bug although I could not find a ticket in the
QT bug tracker.
Anyone else recognized this behaviour?
Thanks
Florian
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest
|
|