Results 1 to 3 of 3

Thread: QMYSQL driver

  1. #1

    Default QMYSQL driver

    Hello,

    i have installed qt4 on ubuntu with "apt-get install <libraries>" and now i need the driver to connect to mysql.
    How can i get it, do i need to uninstall qt and reinstall it from source files to be able to build the driver?


    Paulo

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QMYSQL driver

    simple install
    Qt Code:
    1. sudo apt-get install libqt4-sql-mysql
    To copy to clipboard, switch view to plain text mode 
    .

    That's all.

  3. #3

    Thumbs up Re: QMYSQL driver installation

    Hi,

    Sorry for the delay on the answer...

    Your suggestion works ok, and i have solved my problem although the installation package for the dependent lib mysql-common returns an error and must be removed...

    thanks once more for your help

    Paulo

Similar Threads

  1. Help with QMYSQL driver for QT 4.4.0: driver not loaded
    By khikho in forum Installation and Deployment
    Replies: 4
    Last Post: 1st April 2011, 15:00
  2. Replies: 6
    Last Post: 28th April 2009, 06:58
  3. The strange problem:"QSqlDatabase: QMYSQL driver not loaded"
    By osmanthus in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd January 2009, 15:12
  4. QMYSQL driver not loaded
    By sepehr in forum Qt Programming
    Replies: 12
    Last Post: 11th January 2009, 20:15
  5. QMYSQL driver
    By Fastman in forum Installation and Deployment
    Replies: 2
    Last Post: 26th October 2007, 08:14

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.