QMessageBox::critical on Qt Simulator using maemo view
I am working on a small application for mobile devices which requires login to a site. When it fails I try to use QMessageBox::critical to inform the user about the failure but instead of appearing a full screen messagebox with a critical icon, the text and the Ok button (as I expected similar to the QProgressBox) only a small rectangle appears in the top-left corner which contains the icon and the text (even the OK button is not visible). If I hit Enter it works as it should be (the small rectangle disappears and the control goes back to the login screen).
The code snippet I use is the following:
- void LoginScreen::signInFailed()
- {
- m_progress->reset();
- }
Is it normal (the simulator should work this way) or I did something wrong?
13 replies
Some “classic” dialogs are not allowed on Maemo because are not integrated. Have you seen the Maemo 5 platform notes [doc.qt.nokia.com] ? Seems like QMaemo5InformationBox [doc.qt.nokia.com] might help. I don’t see the direct replacement, though.
I’ve started a page on Qt Simulator Limitations [developer.qt.nokia.com], but I don’t know what else can be said.
Yes, thats right. Also when Symbian foundation was active they had plans to improve it and support it in Linux with QEMU support.
I remember that, I even have it bookmarked:
An Introduction to the Symbian Virtual Platform [blog.symbian.org]
Stepping Toward Symbian Open Source Tools on Linux and Mac [blog.symbian.org]
(these links will stop to work in just days when the Symbian foundation closes the websites [allaboutsymbian.com])
But you said “was”. Do you know if they are less interested in this now?
Yes, thats right. Also when Symbian foundation was active they had plans to improve it and support it in Linux with QEMU support.I remember that, I even have it bookmarked:
An Introduction to the Symbian Virtual Platform [blog.symbian.org]
Stepping Toward Symbian Open Source Tools on Linux and Mac [blog.symbian.org](these links will stop to work in just days when the Symbian foundation closes the websites [allaboutsymbian.com])
But you said “was”. Do you know if they are less interested in this now?
Now it seems with Nokia taking back the control again – they might have lot of other things to work on. Also it was expected to hear some announcement on the future of SF and other such projects which were run under them. As of now no email with these clarifications have been issued in the groups.
But yes QEMU will be supported someday, but it seems will take some time now as compared to the plans SF had.
You must log in to post a reply. Not a member yet? Register here!







