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. Cross compilation Android

Cross compilation Android

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.9k 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.
  • B Offline
    B Offline
    Beberd
    wrote on last edited by
    #1

    Hello,
    I have developed an upnp device for my computer with the cybergarage library .
    Now, I want to compile this program into a android device with necessitas.
    Is there anyone have an idea of how to do that?

    Thank you

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Beberd
      wrote on last edited by
      #2

      I have make this in my library folder

      @./configure
      CXXFLAGS=/home/ddps/necessitas/android-ndk/toolchains/
      arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/g++
      CXX=/home/ddps/necessitas/android-ndk/toolchains/
      arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/gcc@

      and then, I copy the library into Android/libs/armeabi

      to finish, I modify my project.pro like this:
      @
      unix:!macx: LIBS += -L$$PWD/android/libs/armeabi/cybergarage/lib/unix/ -lclink

      INCLUDEPATH += $$PWD/android/libs/armeabi/cybergarage/lib/unix
      DEPENDPATH += $$PWD/android/libs/armeabi/cybergarage/lib/unix

      unix:!macx: PRE_TARGETDEPS += $$PWD/android/libs/armeabi/cybergarage/lib/unix/libclink.a@

      it don't work any.
      I think that the solution is not far...

      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