QStandardPaths::HomeLocation in Qt 5.7
-
wrote on 19 Jun 2016, 14:52 last edited by
When compiling with Qt5.6.1 (and earlier versions) for iOS, we can get /path/to/MyApp.app by calling:
QStandardPaths::writableLocation(QStandardPaths::HomeLocation)
But Qt 5.7, we are not able to do this. Is there a design change for this function call?
Is there any other way to get this directory? We need to get the deployed rcc files from there.
Thank you very much!
-
When compiling with Qt5.6.1 (and earlier versions) for iOS, we can get /path/to/MyApp.app by calling:
QStandardPaths::writableLocation(QStandardPaths::HomeLocation)
But Qt 5.7, we are not able to do this. Is there a design change for this function call?
Is there any other way to get this directory? We need to get the deployed rcc files from there.
Thank you very much!
wrote on 19 Jun 2016, 15:20 last edited by@Albus Hi! Please file a bugreport to bugreports.qt.io.
-
wrote on 20 Jun 2016, 03:38 last edited by
@Wieland thank you and it's done (https://bugreports.qt.io/browse/QTBUG-54214).
-
wrote on 20 Jun 2016, 09:13 last edited by
By the way, we can get the home directory by: QApplication::applicationDirPath(), make sure app is instantiated before calling this.
2/4