I need to copy the full filepath, without filename, into a QString from QFileDialog below.
QString fileName = QFileDialog::getOpenFileName(this,
tr("Select app to install"), '/' , tr("APK Files (*.apk)"));
See Question&Answers more detail:os