Results 1 to 6 of 6

Thread: Deployment of QT4 App that uses the MySql driver

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deployment of QT4 App that uses the MySql driver

    libmysql.dll should be in the directory where your executable is and qsqlmysql.dll should be in sqldrivers subdirectory (unless you have qt.conf file).

    Use Dependency Walker to check what other DLLs you need (you can ignore *java*.dll).

  2. #2
    Join Date
    Jan 2006
    Posts
    75
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deployment of QT4 App that uses the MySql driver

    jacek,

    Thanks for the reply. I've got it working now.

    I have one more question: accessing the database from other machines is very slow. Could you (or anyone with some ideas) provide me with some suggestions that would help me speed up database access?

    I'm currently using MySql and I've set it up to be used on a "server" machine.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deployment of QT4 App that uses the MySql driver

    I don't use MySQL, so I can't help you with it, but first you should check how much data do you pass between client and the server. In PostgreSQL you can log all queries to see how often they're issued --- maybe it's possible also in MySQL. Can your network handle such amount of traffic?

Similar Threads

  1. Connectingto MySQL with QODBC3
    By Philip_Anselmo in forum Qt Programming
    Replies: 22
    Last Post: 9th June 2006, 16:03
  2. Replies: 1
    Last Post: 21st March 2006, 12:54
  3. mySql Result Datatype issues!!!
    By bera82 in forum Qt Programming
    Replies: 2
    Last Post: 21st March 2006, 10:26
  4. Mysql + QSqlTableModeil: incorrect locale
    By blackliteon in forum Qt Programming
    Replies: 5
    Last Post: 10th February 2006, 16:07
  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
  •  
Qt is a trademark of The Qt Company.