Results 1 to 20 of 21

Thread: Step by Step MySQL Plugin... what's next step?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2006
    Posts
    41
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    5

    Default Re: Step by Step MySQL Plugin... what's next step?

    By the way QSqlDatabase::drivers(); returns just QSQLITE, QODBC3, QODBC is that ok?

  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: Step by Step MySQL Plugin... what's next step?

    Quote Originally Posted by chaosgeorge View Post
    By the way QSqlDatabase::drivers(); returns just QSQLITE, QODBC3, QODBC is that ok?
    Yes. It means it is able to use those drivers. Mysql driver is somehow unusable (due to missing dependencies probably) so it is not listed here. Once you fulfill dependencies, QMYSQL will get listed here as well.

  3. #3
    Join Date
    Nov 2006
    Posts
    41
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    5

    Default Re: Step by Step MySQL Plugin... what's next step?

    uhm well actually i got all dependencies ok except msjava.dll but still dont work, what would be the difference using configure to build the plugin? that should work too? using -I ..\mysqlinclude and -L ..\mysqllib\opt

  4. #4
    Join Date
    Nov 2006
    Posts
    41
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    5

    Default Re: Step by Step MySQL Plugin... what's next step?

    the last option didnt work either there are a lot of undefined references at qsql_mysql.cpp when creating library libqsqlmysql.a any ideas? thanks

    o well it worked now, i forgot make-installing the plugin when i built it, so it's now still configuring Qt i guess it will take some minutes... but i have a question, i just deleted the qsqlite.dll from the plugins directory (just to see what happened ) but databases() still returned the driver is loaded why is that?
    Last edited by chaosgeorge; 4th November 2006 at 21:29.

Similar Threads

  1. MySQL plugin
    By ksqt in forum Installation and Deployment
    Replies: 12
    Last Post: 24th September 2009, 14:26
  2. MySql plugin driver issues
    By stevey in forum Installation and Deployment
    Replies: 11
    Last Post: 20th September 2006, 14:45
  3. Problems building mysql plugin for Qt 4.1.2 on windows XP
    By Philip_Anselmo in forum Installation and Deployment
    Replies: 3
    Last Post: 17th May 2006, 16:38
  4. Building of MySQL plugin fails
    By janca in forum Installation and Deployment
    Replies: 2
    Last Post: 21st January 2006, 09:23

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.