Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, August 2007
MySql Headaches with Qt


Message 1 in thread

I am using Qt 4.3.0 with MSVC 7.1 .net.  I can't get Qt to use MySql 
when compiling in Debug mode.  In release mode, everything works fine 
but once I switch to debug I get a "MySql driver not recognized..." 
error.  In release mode, it lists MYSQL in the driver list but not in 
debug mode.  Looking at the dll's loaded I find that the correct dlls 
are loaded for each respected mode (QtSql.dll and libmysql.dll opt for 
release mode and QtSqld.dll and libmysql.dll debug for debug mode). Does 
anyone have any idea what could be going on?  I have compiled Qt with 
MySql support.  How did other people get MySql to work with Qt?  Any 
help would be much appreciated.  Thanks,
Chris Portka

--
 [ signature omitted ] 

Message 2 in thread

did you try to delete all trolltech cached entries in windows registry?

fanda

On Fri, 24 Aug 2007 18:46:01 +0200, Chris Portka <cportka@xxxxxxxxxxxxxxx>  
wrote:

> I am using Qt 4.3.0 with MSVC 7.1 .net.  I can't get Qt to use MySql  
> when compiling in Debug mode.  In release mode, everything works fine  
> but once I switch to debug I get a "MySql driver not recognized..."  
> error.  In release mode, it lists MYSQL in the driver list but not in  
> debug mode.  Looking at the dll's loaded I find that the correct dlls  
> are loaded for each respected mode (QtSql.dll and libmysql.dll opt for  
> release mode and QtSqld.dll and libmysql.dll debug for debug mode). Does  
> anyone have any idea what could be going on?  I have compiled Qt with  
> MySql support.  How did other people get MySql to work with Qt?  Any  
> help would be much appreciated.  Thanks,
> Chris Portka



-- 
 [ signature omitted ]