<?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[[SOLVED] Qt mysql driver not loaded (mint)]]></title><description><![CDATA[<p dir="auto">i guy i have a problem with qt and mysq, i try to connect with this code the db but i have this error:</p>
<p dir="auto">QSqlDatabase: QMYSQL driver not loaded<br />
QSqlDatabase: available drivers: QSQLITE</p>
<p dir="auto">i  tried to install mysql driver with this guide: <a href="http://qt-project.org/doc/qt-4.8/sql-driver.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-4.8/sql-driver.html</a></p>
<p dir="auto">but i dont'have the mysql folder, when i go to the installation folder of my qt i foud this situation</p>
<p dir="auto">/usr/lib/i386-linux-gnu/qt5/plugins/sqldrivers there are two file: <a href="http://libsqllite.so" target="_blank" rel="noopener noreferrer nofollow ugc">libsqllite.so</a> and <a href="http://libsqlmysql.so" target="_blank" rel="noopener noreferrer nofollow ugc">libsqlmysql.so</a>.</p>
<p dir="auto">help me!!! :-) please</p>
]]></description><link>https://forum.qt.io/topic/43280/solved-qt-mysql-driver-not-loaded-mint</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 11:27:40 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/43280.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Jul 2014 10:55:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] Qt mysql driver not loaded (mint) on Thu, 03 Jul 2014 12:44:09 GMT]]></title><description><![CDATA[<p dir="auto">I have solved the problem with this procedure:<br />
@usename@usename-pc ~ $ sudo apt-get install tasksel<br />
usename@usename-pc ~ $ sudo tasksel install LAMP<br />
usename@usename-pc ~ $ sudo tasksel install libmysqlclient-dev<br />
usename@usename-pc ~ $ cd /home/usename/Qt5.0.2/5.0.2/Src/qtbase/src/plugins/sqldrivers/mysql<br />
usename@usename-pc ~ $ /home/usename/Qt5.0.2/5.0.2/gcc_64/bin/qmake "INCLUDEPATH+=/usr/include/mysql" "LIBS+=-L/usr/lib/x86_64-linux-gnu -lmysqlclient_r" <a href="http://mysql.pro" target="_blank" rel="noopener noreferrer nofollow ugc">mysql.pro</a><br />
usename@usename-pc ~ $ make<br />
usename@usename-pc ~ $ make install@</p>
<p dir="auto">nb: usename=username<br />
thank's</p>
]]></description><link>https://forum.qt.io/post/234478</link><guid isPermaLink="true">https://forum.qt.io/post/234478</guid><dc:creator><![CDATA[jaco87]]></dc:creator><pubDate>Thu, 03 Jul 2014 12:44:09 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Qt mysql driver not loaded (mint) on Thu, 03 Jul 2014 12:14:50 GMT]]></title><description><![CDATA[<p dir="auto">thank's for this guide, but the error is the same, the driver is not avaible, i try more tutorial :-(</p>
]]></description><link>https://forum.qt.io/post/234475</link><guid isPermaLink="true">https://forum.qt.io/post/234475</guid><dc:creator><![CDATA[jaco87]]></dc:creator><pubDate>Thu, 03 Jul 2014 12:14:50 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Qt mysql driver not loaded (mint) on Thu, 03 Jul 2014 11:55:55 GMT]]></title><description><![CDATA[<p dir="auto">oops ..</p>
<p dir="auto"><a href="http://techies-home.blogspot.in/2011/09/install-qt-mysql-driver-for-linux.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://techies-home.blogspot.in/2011/09/install-qt-mysql-driver-for-linux.html</a></p>
]]></description><link>https://forum.qt.io/post/234472</link><guid isPermaLink="true">https://forum.qt.io/post/234472</guid><dc:creator><![CDATA[IamSumit]]></dc:creator><pubDate>Thu, 03 Jul 2014 11:55:55 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Qt mysql driver not loaded (mint) on Thu, 03 Jul 2014 11:37:59 GMT]]></title><description><![CDATA[<p dir="auto">thank's for the reply,but I use linux mint the guide is for windows.</p>
]]></description><link>https://forum.qt.io/post/234471</link><guid isPermaLink="true">https://forum.qt.io/post/234471</guid><dc:creator><![CDATA[jaco87]]></dc:creator><pubDate>Thu, 03 Jul 2014 11:37:59 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Qt mysql driver not loaded (mint) on Thu, 03 Jul 2014 11:07:35 GMT]]></title><description><![CDATA[<p dir="auto"><a href="http://qt-project.org/forums/viewthread/41828/" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/forums/viewthread/41828/</a></p>
]]></description><link>https://forum.qt.io/post/234466</link><guid isPermaLink="true">https://forum.qt.io/post/234466</guid><dc:creator><![CDATA[IamSumit]]></dc:creator><pubDate>Thu, 03 Jul 2014 11:07:35 GMT</pubDate></item></channel></rss>