Results 1 to 4 of 4

Thread: Why Qt doesn't support MySQL and PostgreSQL drivers by default?

  1. #1
    Join Date
    Jun 2010
    Posts
    2
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Why Qt doesn't support MySQL and PostgreSQL drivers by default?

    Why Qt doesn't support MySQL and PostgreSQL drivers by default?

  2. #2
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Why Qt doesn't support MySQL and PostgreSQL drivers by default?

    Because Qt allows the user to customize their installation in order to match their database of choice when configuring the system. It allows similar customization for several other modules.

  3. The following user says thank you to SixDegrees for this useful post:

    DSblizzard (12th December 2010)

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

    Default Re: Why Qt doesn't support MySQL and PostgreSQL drivers by default?

    Quote Originally Posted by DSblizzard View Post
    Why Qt doesn't support MySQL and PostgreSQL drivers by default?
    I really wouldn't like linking my "hello world" application against MySQL and PostgreSQL client libraries.
    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.


  5. The following user says thank you to wysota for this useful post:

    DSblizzard (12th December 2010)

  6. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Why Qt doesn't support MySQL and PostgreSQL drivers by default?

    Quote Originally Posted by DSblizzard View Post
    Why Qt doesn't support MySQL and PostgreSQL drivers by default?
    On Windows neither of these databases is available by default. To build the MySql and Postgresql plugin out-of-the-box would require the relevant DBMS source code to be shipped with Qt, along all necessary dependencies (i.e. OpenSSL, kerberos, openLDAP, perl, python, and TCL to provide reasonable coverage). MySql source runs around 28 MB and Postgresql run about 17 MB (gzipped) and the dependencies only make this larger. Distributing MySql bundled also exposes Qt to the GPL or Oracle royalties, which would be an issue for the Commercial version.

    By contrast, SQLite, which has no distribution limitations, is about 1MB gzipped and has no further dependencies.

  7. The following user says thank you to ChrisW67 for this useful post:

    DSblizzard (12th December 2010)

Similar Threads

  1. PostgreSQL driver support
    By treyhaslem in forum Newbie
    Replies: 14
    Last Post: 26th October 2010, 09:01
  2. Mysql drivers
    By thahir1986 in forum Newbie
    Replies: 2
    Last Post: 26th October 2010, 07:07
  3. Building MySQL QT Drivers on Windows XP
    By cia.michele in forum Newbie
    Replies: 6
    Last Post: 16th August 2010, 18:54
  4. mysql drivers for QT-4.5.2
    By jsmith in forum Qt Programming
    Replies: 1
    Last Post: 31st August 2009, 11:33
  5. Mysql drivers install problems
    By cyberboy in forum Qt Programming
    Replies: 20
    Last Post: 2nd February 2008, 14:11

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.