Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QStandardPaths::HomeLocation in Qt 5.7

    Mobile and Embedded
    2
    4
    996
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Albus 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!

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @Albus last edited by

        @Albus Hi! Please file a bugreport to bugreports.qt.io.

        1 Reply Last reply Reply Quote 0
        • A
          Albus last edited by

          @Wieland thank you and it's done (https://bugreports.qt.io/browse/QTBUG-54214).

          1 Reply Last reply Reply Quote 0
          • A
            Albus last edited by

            By the way, we can get the home directory by: QApplication::applicationDirPath(), make sure app is instantiated before calling this.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post