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

QMAKE generates wrong install command for Android library (target.path wrong?)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.3.0
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Environment:
      OpenSUSE 13.1, Qt SDK 5.3
    • Platform/s:
      Android

      Description

      Normally it is possible to overwrite the target.path variable of library projects to specify the install directory. However, with the Qt 5.3 for Android this seems to have changed. Overwriting the target.path variable does not work anymore. Therefore I get the following error when trying to install my QML plugin library:
      mkdir: cannot create directory '/libs': Permission denied

      my overwrite command looks like this:
      TARGETPATH = Machinekit/HalRemote
      target.path = $$[QT_INSTALL_QML]/$$TARGETPATH
      INSTALLS += target

      With Qt 5.2.1 for Android this works flawlessly. I tried to find out what was changed between Qty 5.2.1 and Qt 5.3 and found the file QT_VERSION/android_armv7/mkspecs/features/android/android.prf has changed (and contains the /libs directory that fails). I tried to replace the file with the one from Qt 5.2.1 but without success.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                buddenha Oswald Buddenhagen
                Reporter:
                strahlex Alexander Rössler
              • Votes:
                11 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes