Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Database Plugins

    General and Desktop
    3
    3
    998
    Loading More Posts
    • 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
      hypnomaki last edited by

      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 Reply Quote 0
      • A
        Arthur Turrini last edited by

        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 Reply Quote 0
        • redanium
          redanium last edited by

          check this Qt SQL drivers.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post