<?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[About creating qsqlmysql.dll]]></title><description><![CDATA[<p dir="auto">Hi, there.</p>
<p dir="auto">I want to create qsqlmysql.dll file using qt creator.<br />
I loaded the mysql project in source code of qt<br />
and then I added add mysql library<br />
Below is <a href="http://mysql.pro" target="_blank" rel="noopener noreferrer nofollow ugc">mysql.pro</a></p>
<pre><code>mysql.pro

TARGET = qsqlmysql

HEADERS += $$PWD/qsql_mysql_p.h
SOURCES += $$PWD/qsql_mysql.cpp $$PWD/main.cpp

#QMAKE_USE += mysql

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/'../../../../../../../../Program Files/MySQL/MySQL Connector C 6.1/lib/' -llibmysql
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/'../../../../../../../../Program Files/MySQL/MySQL Connector C 6.1/lib/' -llibmysql
INCLUDEPATH += $$PWD/'../../../../../../../../Program Files/MySQL/MySQL Connector C 6.1/include/'
DEPENDPATH += $$PWD/'../../../../../../../../Program Files/MySQL/MySQL Connector C 6.1/include/'

OTHER_FILES += mysql.json

PLUGIN_CLASS_NAME = QMYSQLDriverPlugin
include(../qsqldriverbase.pri)
</code></pre>
<p dir="auto">When I built it, the qsqlmysql.dll file was not created and the following files were created.</p>
<p dir="auto"><a href="https://i.stack.imgur.com/RUxvZ.png" target="_blank" rel="noopener noreferrer nofollow ugc"><img src="https://i.stack.imgur.com/RUxvZ.png" alt="enter image description here" class=" img-fluid img-markdown" /></a></p>
<p dir="auto">The following is the contents of the compile output window that appears when building.</p>
<pre><code>20:46:56: Running steps for project mysql...
20:46:56: Configuration unchanged, skipping qmake step.
20:46:56: Starting: "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" 
    C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release all
    C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug all
20:46:57: The process "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" exited normally.
20:46:57: Elapsed time: 00:00.
</code></pre>
<p dir="auto">I would be grateful if you could tell me how to create the qsqlmysql.dll file<br />
Thank you.</p>
]]></description><link>https://forum.qt.io/topic/146016/about-creating-qsqlmysql-dll</link><generator>RSS for Node</generator><lastBuildDate>Sun, 25 Oct 2026 22:26:40 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/146016.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Jun 2023 12:14:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to About creating qsqlmysql.dll on Mon, 26 Jun 2023 15:47:58 GMT]]></title><description><![CDATA[<p dir="auto">Do <strong>not modify</strong> any pro file but follow the official <a href="https://doc.qt.io/qt-5/sql-driver.html#compile-only-a-specific-sql-driver" target="_blank" rel="noopener noreferrer nofollow ugc">documentation</a>.</p>
]]></description><link>https://forum.qt.io/post/762653</link><guid isPermaLink="true">https://forum.qt.io/post/762653</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Mon, 26 Jun 2023 15:47:58 GMT</pubDate></item></channel></rss>