Results 1 to 4 of 4

Thread: Qt for Android. Necessitas

  1. #1
    Join Date
    Jul 2010
    Posts
    72
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Qt for Android. Necessitas

    Hello,
    After I've downloaded Android SDK and Android NDK and I've created AVD Android 2.2 API level 8
    and I've installed Necessitas tool for building and deploying Qt applications to Android OS I've assigned Android NDK toolchain version as arm-linux-androiddeaby-4.4.3

    I've putted Qt version and Android SDK and NDK versions in Qt Creator options I've got android directory with shell java files created as in the videos only when launching as root.
    But the problem is when I build Qt project ( with android directory created in project folder's root ) I get following error both on root and user login:

    Assembler messages:
    Fatal error: Invalid -march= option: `armv5te'
    in main.o

    Does anybody know why that message ( error ) ? What is the problem? Why it can't be built?
    Thank you very much. I will try to help here too.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt for Android. Necessitas

    The problem is exactly as it says - the assembler you are using doesn't understand the march option "armv5te".

    So either your compiler is too old or just doesn't support armv5te (eg. your using GCC for x86 for example)

  3. #3
    Join Date
    Dec 2010
    Posts
    71
    Thanks
    26
    Platforms
    Windows

    Default Re: Qt for Android. Necessitas

    Hi,

    freely, what's your make step configuration? Is there a make.exe for Android or we have to use mingw32-make.exe?

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt for Android. Necessitas

    If you are using MinGW for your compiler, it makes sense to use mingw32-make as your make tool.

Similar Threads

  1. Qt on Android - where is Qt own effort in it?
    By TorAn in forum General Discussion
    Replies: 25
    Last Post: 11th May 2011, 08:13
  2. Qt in Android Possible?
    By Prabha in forum Installation and Deployment
    Replies: 5
    Last Post: 11th May 2011, 08:11
  3. qt on android
    By carlovv81 in forum General Discussion
    Replies: 3
    Last Post: 1st February 2011, 12:42
  4. qtcreator integration with android
    By rashmi in forum Newbie
    Replies: 1
    Last Post: 17th January 2011, 23:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.