Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compile QtLocation for android [install_target]

Compile QtLocation for android [install_target]

Scheduled Pinned Locked Moved Installation and Deployment
installationqtlocationandroid
2 Posts 1 Posters 1.5k Views
  • 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.
  • Q Offline
    Q Offline
    quicky
    wrote on 9 Mar 2015, 15:10 last edited by
    #1

    QtLocation, checked out version 5.4.1 comiles for windows, not for android:
    makefile:953: recipe for target 'install_target' failed
    mingw32-make: *** [install_target] Error 1
    16:06:30: The process "I:\Qt\Qt5.4.1_Android\Tools\mingw491_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project mapviewer (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.4.1))
    When executing step "Copy application data"

    This has to do with the https://bugreports.qt.io/browse/QTBUG-37718 and https://bugreports.qt.io/browse/QTBUG-37638

    I have tried CONFIG -= android_install but didn't help.

    Any suggestions how to compile it for Android? For those that have managed, does QtLocation work for Android? iOS?

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      quicky
      wrote on 10 Mar 2015, 08:18 last edited by
      #2

      By just uncommenting the line:
      #INSTALLS += target additional

      in mapviewer.pro,

      It runs up and shows the map on my android phone, great!

      1 Reply Last reply
      0

      1/2

      9 Mar 2015, 15:10

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved