<div dir="ltr"><div class="gmail_extra" style>I recompiled Qt SQL module and plugins with no optimization flags. It's still same. I'm using official libraries.</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>

Which library should I compile? There is <a href="http://tangentsoft.net/mysql++/">MySQL++</a> , <a href="http://dev.mysql.com/downloads/connector/c/">MySQL C Connector</a> and <a href="http://dev.mysql.com/downloads/connector/cpp/">MySQL C++ Connector</a>. Seems not possible to compile later one with MinGW. It has a<a href="http://sourceforge.net/projects/windiana.u/files/mysql/port-mingw/"> MinGW port</a>. That one is problematic too. cmake falls into an infinite loop while making MSYS makefiles.</div>

<div class="gmail_extra" style><br></div><div class="gmail_extra" style>I'm totally confused. Can you help me to get this work?</div></div>