Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-9182

android: make install repeats the whole source path under INSTALL_ROOT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • Qt Creator 2.8.0-beta

    Description

      Creator does the "Copy application data" deployment step like this:

      make INSTALL_ROOT="/home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/android" install

      and that does this

      install -m 755 -p "libfingerpaint.so" "/home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/android/home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/libfingerpaint.so"
      install -m 644 -p /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/fingerpaint.pro /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/android/home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/
      install -m 644 -p /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/main.cpp /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/android/home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/
      install -m 644 -p /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/mainwindow.cpp /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/android/home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/
      install -m 644 -p /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/scribblearea.cpp /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/android/home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/
      install -m 644 -p /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/mainwindow.h /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/android/home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/
      install -m 644 -p /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/scribblearea.h /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/android/home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/

      The result is that libfingerpaint.so is not included in the .apk package, and is not installed on the device, so it won't run. I can finish the installation manually like this:

      adb push /home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/android/home/rutledge/dev/qt5-android/qtbase/examples/touch/fingerpaint/libfingerpaint.so /sdcard/
      adb shell
      su
      mv /sdcard/libfingerpaint.so /data/app-lib/org.qtproject.example.fingerpaint-1/

      Attachments

        1. Makefile
          210 kB
          Shawn Rutledge

        Issue Links

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

          Activity

            People

              vikas Vikas Pachdha
              srutledg Shawn Rutledge
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes