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

Make sure deployment to device works for new QtQuick templates

    XMLWordPrintable

    Details

    • Commits:
      62117ee21f4ba301709af8d250841dd522ff0c7f

      Description

      Looks like the removal of deployment.pri from the templates broke deployment to devices.

      Please re-add a deployment.pri:

      android-no-sdk {
          target.path = /data/user/qt
          export(target.path)
          INSTALLS += target
      } else:android {
          x86 {
              target.path = /libs/x86
          } else: armeabi-v7a {
              target.path = /libs/armeabi-v7a
          } else {
              target.path = /libs/armeabi
          }
          export(target.path)
          INSTALLS += target
      } else:unix {
          !isEmpty(target.path) {
              installPrefix = $${target.path}
          } else {
              installPrefix = /opt/$${TARGET}
          }
          isEmpty(target.path) {
              target.path = $${installPrefix}/bin
              export(target.path)
          }
          INSTALLS += target
      }
      
      export(INSTALLS)
      

      And append to main.pro:

      # Default rules for deployment.
      include(deployment.pri)
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jkobus Jarek Kobus
              Reporter:
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes