Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. SqlDatabase provides no drivers
Qt 6.11 is out! See what's new in the release blog

SqlDatabase provides no drivers

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 319 Views 2 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.
  • M Offline
    M Offline
    Mark81
    wrote on last edited by Mark81
    #1

    Perhaps I'm missing something. In my cross-compiled environment (Qt5.11 for ARM) QSqlDatabase::drivers() returns an empty array and of course I cannot do anything with databases.

    I checked and I have in /usr/lib/:

    • libQt5Sql.so.5.11.2
    • libQt5Sql.so.5
    • libQt5Sql.so.5.11
    • libsqlite3.so.0
    • libsqlite3.so.0.8.6

    I thought should be enough. What other files are needed?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The drivers are plugins so you need to also have the plugins deployed.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

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