Results 1 to 7 of 7

Thread: [URGENT] How to connect MySQL with Qt 4.7.3?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2011
    Posts
    14
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default [URGENT] How to connect MySQL with Qt 4.7.3?

    Hello,

    I was trying to connect my Qt code with MySQL Database. However, I got to know that only SQLite is supported in open source Qt and we need to get the drivers for MySQL on our own. Can anyone please tell me How to do it?

    And most IMPORTANT: I have searched google and yahoo and a lot. All I got is simply some $QTDIR/src/plugins/ and ….
    However, I don’t have any file or directory named /src/ in my Qt installation.
    I am here by providing what I am using and will look forward to your suggestion:

    1. Qt SDK 4.7.3
    2. MySQL
    3. Qt installation folder: /home/pkr/QtSDK
    4. MySQL installation: /usr/share/mysql
    5. OS: Ubuntu 12.04
    6: DM: GNOME 3.0

    Please help me out!!! It’s urgent
    Last edited by codeartist; 23rd May 2012 at 16:10.

Similar Threads

  1. Replies: 13
    Last Post: 17th June 2011, 17:19
  2. How to connect Qt with MYSQL??
    By Gokulnathvc in forum Newbie
    Replies: 10
    Last Post: 24th March 2011, 00:52
  3. Qt connect different MySQL
    By weixj2003ld in forum Qt Programming
    Replies: 0
    Last Post: 5th August 2009, 08:35
  4. How to connect MySQL with QT
    By diego in forum Qt Programming
    Replies: 0
    Last Post: 27th May 2009, 05:34
  5. [URGENT] Weird compile error [URGENT]
    By MarkoSan in forum Qt Programming
    Replies: 3
    Last Post: 24th May 2008, 23:54

Tags for this Thread

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.