Details
Description
App compiled versus API-22
Steps to reproduce:
1. Modify textedit example and add to its
constructor allocation of QProgressDialog as below:
this->progress_dialog_ =
new (nothrow) QProgressDialog("Please, wait...",
"Cancel", 0, PROGRESS_BAR_MAX_TIMESLOTS,
this, // For parent relationship
0);
if (!this->progress_dialog_)
{ qDebug() << "TextEdit::alloc_wp_progress_dialog - failed to alloc QProgressDialog"; return 0; } // Don't show button "Cancel"
progress->setCancelButton(0);
progress->setWindowModality(Qt::ApplicationModal);
progress->setMinimumDuration(0);
progress->setObjectName("WPProgressDialog");
// Even hide() is not helpful on Android
progress->hide();
2. Run the example;
3. Observe that the progress dialog appears after some
seconds, and it is positioned in the left upper corner of the display.
Attachments
Issue Links
- duplicates
-
QTBUG-47042 QprogressDialog appears at creation with Qt5.5rc (other than in Qt5.4)
- Closed