Results 1 to 2 of 2

Thread: Another "QMYSQL" problems thread

  1. #1
    Join Date
    Sep 2009
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Another "QMYSQL" problems thread

    Ok guys, first of all: I'm sorry, but I spent the whole day trying to figure this out. I've been following http://wiki.qtcentre.org/index.php?t...ws_using_MinGW but something is going wrong. I'm on Windows XP SP3, and this are my concerns:

    1. point 5: i have no "make" anywhere. I think the wiki relates to mingw32-make, is this correct?
    2. point 5: my files aren't at %QTDIR%/plugins/sqldrivers directory, but at %QTDIR%\src\plugins\sqldrivers\mysql. I can copy them over, obviously, but is this correct again?
    3. after everything, i still have "QMYSQL driver not loaded. available drivers: QSQLITE QODBC3 QODBC".

    Where am I wrong, please?

    EDIT: by analyzing qsqlmysql4.dll (or qsqlmysqld4.dll) with Dependency Walker I'm missing IESHING.DLL and WER.DLL. I don't have these files anywhere on my PC and it seems that are Windows related. Are they necessary?
    Last edited by Lorthirk; 27th September 2009 at 17:10.

  2. #2
    Join Date
    Sep 2009
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Another "QMYSQL" problems thread

    I solved this myself. You need to copy %MYSQL%\bin\libmySQL.dll to %QTDIR%\bin, NOT %MYSQL%\lib\opt\libmySQL.dll or %MYSQL%\lib\debug\libmySQL.dll.

Similar Threads

  1. Problems with a Thread
    By avis_phoenix in forum Qt Programming
    Replies: 3
    Last Post: 8th February 2009, 17:11
  2. postEvent & Thread problems
    By gianpatt in forum Qt Programming
    Replies: 4
    Last Post: 21st March 2008, 14:19
  3. canonicalFilePath() thread problems
    By magland in forum Qt Programming
    Replies: 10
    Last Post: 5th December 2007, 21:22
  4. Thread Problems (i think)
    By LMZ in forum Qt Programming
    Replies: 11
    Last Post: 29th September 2007, 12:54
  5. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13

Tags for this Thread

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.