<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unable to find drivers for msyql.]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have successfully compiled QMYSQL drivers, and can load them on a machine where Qt is installed. When I copy my executable and the required dlls to another computer however (where Qt is not installed), I get driver not loaded. Here is what is copied to client's computer during install, which should be everything that is necessary:</p>
<p dir="auto">app_folder<br />
--&gt;myApp.exe<br />
--&gt;libmysql.dll, qsqlmysql4.dll, qsqlmysqld4.dll, qtsql4.dll, qtsqld4.dll, qtcore4.dll, qtcored4.dll, qtgui4.dll, qtguid4.dll.</p>
<p dir="auto">In the pro file I simply link to drivers using:<br />
LIBS += "libmysql.lib"<br />
LIBS += "qsqlmysqld4.lib"</p>
<p dir="auto">Both are in the project directory.</p>
<p dir="auto">Any suggestions would certainly be helpful.</p>
]]></description><link>https://forum.qt.io/topic/16430/unable-to-find-drivers-for-msyql</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 22:08:44 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/16430.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 May 2012 14:30:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to find drivers for msyql. on Thu, 03 May 2012 20:09:43 GMT]]></title><description><![CDATA[<p dir="auto">I'm sorry, I must have totally misread your post.</p>
]]></description><link>https://forum.qt.io/post/137993</link><guid isPermaLink="true">https://forum.qt.io/post/137993</guid><dc:creator><![CDATA[andre]]></dc:creator><pubDate>Thu, 03 May 2012 20:09:43 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to find drivers for msyql. on Thu, 03 May 2012 20:04:58 GMT]]></title><description><![CDATA[<p dir="auto">I had already built the entire qt library from source, as well as the qmysql driver (stated in first post). It turns out, that on the client's machine, qsqlmysqld4.dll needs to reside in a subdirectory of the application's executable directory, called sqldrivers, like so:</p>
<p dir="auto">app_folder<br />
myApp.exe<br />
libmysql.dll, others<br />
sqldrivers (folder)<br />
qsqlmysqld4.dll</p>
<p dir="auto">Putting it there solved it.</p>
]]></description><link>https://forum.qt.io/post/137991</link><guid isPermaLink="true">https://forum.qt.io/post/137991</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 03 May 2012 20:04:58 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to find drivers for msyql. on Thu, 03 May 2012 16:32:22 GMT]]></title><description><![CDATA[<p dir="auto">You'll need to build them. They are not installed by default.</p>
]]></description><link>https://forum.qt.io/post/137971</link><guid isPermaLink="true">https://forum.qt.io/post/137971</guid><dc:creator><![CDATA[andre]]></dc:creator><pubDate>Thu, 03 May 2012 16:32:22 GMT</pubDate></item></channel></rss>