Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QStandardPaths::HomeLocation in Qt 5.7
When compiling with Qt5.6.1 (and earlier versions) for iOS, we can get /path/to/MyApp.app by calling:
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!
A Former User last edited by
@Wieland thank you and it's done (https://bugreports.qt.io/browse/QTBUG-54214).
By the way, we can get the home directory by: QApplication::applicationDirPath(), make sure app is instantiated before calling this.