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. How to cross compile qsqldriver only of Qt5.6.2

How to cross compile qsqldriver only of Qt5.6.2

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 371 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.
  • MihanM Offline
    MihanM Offline
    Mihan
    wrote on last edited by
    #1

    I want to use sqlite on Arm ,but I find that I need to put the qsqldriver.so to ..../plugin/qsqldriver same as on ubuntu. So what should I do?

    raven-worxR 1 Reply Last reply
    0
    • MihanM Mihan

      I want to use sqlite on Arm ,but I find that I need to put the qsqldriver.so to ..../plugin/qsqldriver same as on ubuntu. So what should I do?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @Mihan
      I assume you compiled Qt for ARM yourself? If so you simply can add -sql-sqlite

      configure -help output:

      Database options:
      
        -sql-<driver> ........ Enable SQL <driver> plugin. Supported drivers:
                               db2 ibase mysql oci odbc psql sqlite2 sqlite tds
                               [all auto]
        -sqlite .............. Select used sqlite3 [system/qt]
      

      Check the output summary when running configure.

      If you still have no plugin library, try to compile it manually and check the possible errors.

      cd <QTDIR>/src/plugins/sqldrivers/sqlite/sqlite.pro  # or sqlite2 if needed
      make
      make install
      

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      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