<?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[qmake not running]]></title><description><![CDATA[<p dir="auto">I want to create the libs for MySql following <a href="https://doc.qt.io/qt-5/sql-driver.html#qmysql" target="_blank" rel="noopener noreferrer nofollow ugc">Qt Documentation-&gt;How to Build the QMYSQL Plugin on Windows</a>. But when I try to use <strong>qmake</strong> I get the help page only.</p>
<pre><code>D:\Tools\QT\6.2.1\Src\qtbase\src\plugins\sqldrivers&gt;qmake -v
QMake version 3.1
Using Qt version 6.2.1 in D:/Tools/Qt/6.2.1/mingw81_64/lib

D:\Tools\QT\6.2.1\Src\qtbase\src\plugins\sqldrivers&gt;qmake -- MYSQL_INCDIR="C:/Program Files/MariaDB 10.6/include/mysql" MYSQL_LIBDIR="C:/Program Files/MariaDB 10.6/lib"
Usage: qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets [files] as files to
...
</code></pre>
<p dir="auto">Can anybody give me a hint what I'm doing wrong?</p>
]]></description><link>https://forum.qt.io/topic/132084/qmake-not-running</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 11:58:35 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/132084.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Nov 2021 22:04:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to qmake not running on Fri, 19 Nov 2021 08:45:19 GMT]]></title><description><![CDATA[<p dir="auto">Looks like I used the wrong documentation. Thanks for pointing me to the new one.</p>
]]></description><link>https://forum.qt.io/post/690805</link><guid isPermaLink="true">https://forum.qt.io/post/690805</guid><dc:creator><![CDATA[Executer]]></dc:creator><pubDate>Fri, 19 Nov 2021 08:45:19 GMT</pubDate></item><item><title><![CDATA[Reply to qmake not running on Thu, 18 Nov 2021 06:50:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/executer">@<bdi>Executer</bdi></a> said in <a href="/post/690602">qmake not running</a>:</p>
<blockquote>
<p dir="auto">Also using an absolute path for qmake makes no difference.</p>
</blockquote>
<p dir="auto">That's clear, I only suggested that to make sure you use Qt version you want to use.<br />
Since you're building for Qt6 you should follow this documentation: <a href="https://doc.qt.io/qt-6/sql-driver.html#qmysql" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/sql-driver.html#qmysql</a></p>
]]></description><link>https://forum.qt.io/post/690606</link><guid isPermaLink="true">https://forum.qt.io/post/690606</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Thu, 18 Nov 2021 06:50:13 GMT</pubDate></item><item><title><![CDATA[Reply to qmake not running on Thu, 18 Nov 2021 06:42:07 GMT]]></title><description><![CDATA[<p dir="auto">There is no *.pro but CMakeLists.txt in this folder. The Makefile indicates, that qmake has been used sucessfully.<br />
Also using an absolute path for qmake makes no difference.</p>
]]></description><link>https://forum.qt.io/post/690602</link><guid isPermaLink="true">https://forum.qt.io/post/690602</guid><dc:creator><![CDATA[Executer]]></dc:creator><pubDate>Thu, 18 Nov 2021 06:42:07 GMT</pubDate></item><item><title><![CDATA[Reply to qmake not running on Thu, 18 Nov 2021 05:42:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/executer">@<bdi>Executer</bdi></a> said in <a href="/post/690572">qmake not running</a>:</p>
<blockquote>
<p dir="auto">D:\Tools\QT\6.2.1\Src\qtbase\src\plugins\sqldrivers</p>
</blockquote>
<p dir="auto">Is there a *.pro file in this folder? Also, Qt6 switched to CMake, probably you have to use CMake. Is there a CMakeLists.txt file in that folder?<br />
Also, you should use absolute path to qmake in case you have more than one Qt version installed to make sure you call qmake from Qt version you want to use.</p>
]]></description><link>https://forum.qt.io/post/690597</link><guid isPermaLink="true">https://forum.qt.io/post/690597</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Thu, 18 Nov 2021 05:42:45 GMT</pubDate></item></channel></rss>