Results 1 to 2 of 2

Thread: Rebuilding QtSDK for MySql support

  1. #1
    Join Date
    Mar 2012
    Location
    India
    Posts
    102
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    4

    Default Rebuilding QtSDK for MySql support

    Hi,

    I have installed lampp in my linux which has mysql support. I have created one database in it and I wanted to create a simple database query program in Qt.

    When I tried to open the database it gave me mysql driver error. On googling I found i had to rebuild the QtSDK with mysql support. But I have installed QtSDK from a binary. The link I referred said there will be one QtSources folder in QtSDK where I need to configure and make, make install. But I find no such folder in my QtSDK.

    Please Help. Am I doing something wrong ?

    Thanks in Advance.

    -Charvi.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Rebuilding QtSDK for MySql support

    You don't have to rebuild QtSDK. You need to download Qt source code (if you don't have it), install mysqlclient development package for your system and rebuild just the driver. You can follow the [wiki]Building the Database Plugins for QtSDK Users[/wiki] article. It's focused on Windows but the same rules apply on Linux.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. MySql driver compile problem (QtSDK/QtSources 4.8.1 and msvc 2010)
    By junhonguk in forum Installation and Deployment
    Replies: 1
    Last Post: 22nd April 2013, 04:57
  2. Create MYSQL files on Mac OS X Lion for QtSDK
    By devbizz in forum Installation and Deployment
    Replies: 1
    Last Post: 26th December 2012, 20:48
  3. Replies: 1
    Last Post: 7th April 2012, 07:05
  4. Using QtSDk with Mysql 64bit
    By cia.michele in forum Installation and Deployment
    Replies: 0
    Last Post: 29th August 2011, 14:59
  5. Mysql support
    By Guilo in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 10th June 2010, 11:08

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
  •  
Qt is a trademark of The Qt Company.