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. Deploying libmysqlclient to android device?
Forum Updated to NodeBB v4.3 + New Features

Deploying libmysqlclient to android device?

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

    I managed to build MySql driver for Android, but I am stuck at deployment.

    I built it using mariadb from "this wiki page":http://qt-project.org/wiki/Build_Qt5_mysql_plugin_for_Android

    The ideea is I don't know how can I deploy libmysqlclient to my device(AVD atm).

    On desktop is fairly simple. Can someone help me? I am starting to loose it a bit.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      adutzu89
      wrote on last edited by
      #2

      I found "this tutorial":http://sysmagazine.com/posts/134502/

      But I can't get past
      bq. 1. In line set( ANDROID_NDK_DEFAULT_SEARCH_PATH /path/to/android-ndk ) to specify a path on whom Android-ndk are allocat.
      2. In line set( ANDROID_NDK_TOOLCHAIN_DEFAULT_SEARCH_PATH /path/to/toolchain ) to specify a path on whom the tooling of the assembly are allocat.

      Nazovyom the edit file, say, android.cmake
      Otdayom of a command:

      export ANDROID_NDK=/full/path/to/necessitas/android-ndk
      cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/mysql-connector-c-6.0.2/android.cmake
      make

      Where do I set the lines?

      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