Results 1 to 2 of 2

Thread: Deploying with MySQL support under Windows

  1. #1
    Join Date
    Feb 2006
    Location
    USA
    Posts
    142
    Thanks
    24
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Red face Deploying with MySQL support under Windows

    Hello all,

    I'm trying to deploy an application that has really only been tested to work with MySQL to Windows (though it offers connections to any other database type that Qt knows what to do with)... but I find that just "installing" Qt under Windows does not give me MySQL support.

    I suspect I can compile the open source Qt under windows with MySQL enabled. At that point, do I again just distribute with QtSQL4.dll, or are there other .dll files I'll need to grab? (I use "depends" (Yes, I have visual studios) to locate which .dll's are necessary, but I don't think that covers those .dll's which may get loaded dynamically)

    I note that there's at least one problem with my application and using other databases: Under Qt 4.1.4 under linux, QSQLite does not understand "CREATE TABLE IF NOT EXISTS". On the other hand, it appears that Qt 4.2.0 under Windows XP, using QSQLite, does understand that command.
    Life without passion is death in disguise

  2. #2
    Join Date
    Aug 2006
    Posts
    163
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Deploying with MySQL support under Windows

    Have you got the same versions of SQLite installed under Windows and Linux? AFAIK, they are identicle no matter what OS you're using, so it should understand that command on Linux as well.

    /edit : I just checked. I have SQLite3 3.3.7 installed on Arch Linux, and it understands that command. You probably have an outdated version installed or something.
    Last edited by Valheru; 12th October 2006 at 09:23.

Similar Threads

  1. Embedded Mysql Windows Qt4.1
    By benguela in forum Qt Programming
    Replies: 7
    Last Post: 17th January 2007, 00:13
  2. 64-bit support in Windows?
    By jamos in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2006, 16:29
  3. Problem building Qt4.1.0 with thread support on windows XP
    By pavithra in forum Installation and Deployment
    Replies: 1
    Last Post: 1st April 2006, 11:35
  4. Can't install Qt4.1 with SQL Support for ODBC in Windows XP
    By danieltruchsess in forum Installation and Deployment
    Replies: 1
    Last Post: 5th February 2006, 10:02
  5. Qt 4.1 OS on Windows & mysql
    By neeko in forum Installation and Deployment
    Replies: 10
    Last Post: 31st January 2006, 20:22

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.