Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33830

Incorrect application path in Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.1.1
    • QPA
    • None
    • Ubuntu, Qt 5.1.1, target Android arm7
    • Android

    Description

      qApp->applicationDirPath() used to point to /data/app-lib/<your package name>/
      in Qt 4.8.2
      in Qt 5.1.1 it point to /system/bin

      The following code generates different outputs between 4.8.2 and 5.1.1
      pluginsDir = QDir(qApp->applicationDirPath());
      qDebug()<<"DEBUG:: Application location path" << pluginsDir.path();

      In order to load custom plugins this information is required

      Thanks

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              oqtodev Oqto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes