Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Database Plugins
Qt 6.11 is out! See what's new in the release blog

Database Plugins

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.3k 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.
  • H Offline
    H Offline
    hypnomaki
    wrote on last edited by
    #1

    Hi,
    The whole Database thing isn't clear for me right now.
    Whats the Difference between Drivers and Plugins in QT?
    I know i need the Libs (.so) in my QT Plugin dir. Are there Any prebuilt QT DB drivers/plugins shipped with QT? Reading this http://qt-project.org/doc/qt-4.8/sql-driver.html I understand that i have to build them myself but also Installing official Drivers (MySQL Testet under Windows and Linux) and moving them to the QT Plugins Folder worked for me.
    I wonder because i have "libsqlite.so" in my plugins dir without installing anything (at least i dont know)

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

      Hello,

      For Qt SQL you can assume that DRIVERS == PLUGINS, (almost), since these plugins are statically or dinamically linked to database native drivers to access them.

      Qt by default comes with SQLite support, that's why in Qt 4 or 5 you will find it in your plugins folder.

      If you download Qt from http://qt.io website, it will come with some compiled sql drivers as Qt plugins.

      If you're using Qt from your Linux distribution, some drivers may be already compiled or you will need to compile them by hand, so its your decision to stick with official qt.io or with your linux distribution.

      Hope that helps,

      Regards,

      1 Reply Last reply
      0
      • redaniumR Offline
        redaniumR Offline
        redanium
        wrote on last edited by
        #3

        check this Qt SQL drivers.

        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