Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android Qt Quick errors during Make
Forum Updated to NodeBB v4.3 + New Features

Android Qt Quick errors during Make

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 877 Views 1 Watching
  • 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.
  • V Offline
    V Offline
    vladimir_s
    wrote on last edited by
    #1

    What am I doing wrong?

    I'm trying to build and run default Qt quick helloworld program with Qt 5.2 on Android.
    The build fails during Make with errors like these:

    ..\Proj2\main.cpp:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
    #include "qtquick2controlsapplicationviewer.h"
    ^
    ..\Proj2\main.cpp:1:0: error: bad value (armv7-a) for -march= switch
    makefile:847: recipe for target 'main.obj' failed
    mingw32-make: *** [main.obj] Error 1
    05:35:40: The process "C:\COMPILERS\Qt\Qt5.2.0_Android\Tools\mingw48_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project Proj2 (kit: VS Android for armeabi-v7a (GCC 4.8, Qt 5.2.0))
    When executing step 'Make'

    So It seems like Make doesn't like something in qtquick2controlsapplicationviewer.h ...

    My testing device is Huawei Mediapad 10 FHD, which has Cortex-A9 processor with arm v7.

    1 Reply Last reply
    0

    • Login

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