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. How install mysql odbc freetds postegresql sqlite sqlite3 Drivers on Ubuntu
Forum Updated to NodeBB v4.3 + New Features

How install mysql odbc freetds postegresql sqlite sqlite3 Drivers on Ubuntu

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 2.0k 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.
  • 1 Offline
    1 Offline
    17elcapo
    wrote on last edited by
    #1

    Hello friends for install these drivers make this intrucctions

    1. Go to software center ubuntu search libqt4 for QT4 libqt5 for QT5 and install
      -Qt 5 My SQL database driver
      -Qt 5 My ODBC database driver
      -Qt 5 My FREETDS database driver
      -Qt 5 My POSTEGRESQL database driver
      -Qt 5 My SQLITE database driver
      -Qt 5 My SQLITE3 database driver
      2)Go to Qt Creator>Tools>Options>Build and Run>Qt Versions
      in autodetected click on your compiler look down and click on qt version 5/4 details
      look you QT_INSTALL_PLUGINS and go to there.
      3)In terminal execute sudo nautilus
      4)Go to /usr/lib/i386-linux-gnu/qt5/plugins/sqldrivers [for 32bitubuntu] or /usr/lib/x86_64-linux-gnu/qt5/plugins/sqldrivers [for 64bitsubuntu]
    2. copy all of .so files in sqldrivers and paste in you QT_INSTALL_PLUGINS/sqldrivers folder in my case /home/user/Qt/5.2.1/gcc_64/plugins/sqldrivers
      in you .pro of you proyect file add "QT += sql" .
      Thats is all sorry for my english and regards form Argentina
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What you are describing is not the right way to get the plugins. It might be working now because your installed Qt version matches your distribution Qt version but that just luck.

      The instructions to build additional plugins can be found "here":http://qt-project.org/doc/qt-5/sql-driver.html#supported-databases

      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
      0

      • Login

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