Qt 5.3.1 Android QInputDialogs cause a crash on older devices
-
I'm using the QInputDialogs a lot, like the one below from the examples,
but since version 5.3.1 they cause a crash,
the dialog doesn't show up and after a while the app quits.
This happens on my samsung galaxy tab3 with android 4.2The same input dialogs worked fine with version 5.2.1
The problem doesn't occur on my Nexus 7 2013 with android 4.4,
so it has sth to do with qt5.3.1 and older android versions,
anyone an idea ?@ QStringList items;
items << tr("Spring") << tr("Summer") << tr("Fall") << tr("Winter");
bool ok;
QString item = QInputDialog::getItem(this, tr("QInputDialog::getItem()"),
tr("Season:"), items, 0, false, &ok);
if (ok && !item.isEmpty())
itemLabel->setText(item);
@ -
Hi,
You should take a look at the "bug report system":http://bugreports.qt-project.org to see if it's something known. If not you should consider opening a new report providing a minimal compilable example
-
I made a new small project, with only the qinputdialogs,
and it shows the dialogs as expected on both devices.So I think the problem lies in the rest of the coding of my large app,
the inputdialog somehow gets pushed away on the slower tab3,
while the faster nexus7 manages to show it.I'll have to dig deeper.
Note the 5.3.1. compiled large app runs faster than the 5.2.1 version,