<?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[QMYSQL Plugin Build Error]]></title><description><![CDATA[<p dir="auto">I am trying to build the QMYSQL plugin after a fresh install of Qt 6.3.2. The error message I'm getting says I am targeting the wrong package version, but I can't figure out the underlying issue other than I may be requesting 32-bit when I want 64-bit.  Here is an excerpt of the error message:</p>
<p dir="auto">C:\Qt\6.3.2\msvc2019_64\bin&gt;qt-cmake -G Ninja C:\Qt\6.3.2\Src\qtbase\src\plugins\sqldrivers -DMySQL_INCLUDE_DIR="C:\Program Files\MySQL\MySQL Server 8.0\include" -DMySQL_LIBRARY="C:\Program Files\MySQL\MySQL Server 8.0\lib\libmysql.lib" -DCMAKE_INSTALL_PREFIX="C:\Qt\6.3.2\msvc2019_64"<br />
-- The CXX compiler identification is MSVC 19.33.31630.0<br />
-- The C compiler identification is MSVC 19.33.31630.0<br />
-- The ASM compiler identification is MSVC<br />
-- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx86/x86/cl.exe<br />
-- Detecting CXX compiler ABI info<br />
-- Detecting CXX compiler ABI info - done<br />
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx86/x86/cl.exe - skipped<br />
-- Detecting CXX compile features<br />
-- Detecting CXX compile features - done<br />
-- Detecting C compiler ABI info<br />
-- Detecting C compiler ABI info - done<br />
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx86/x86/cl.exe - skipped<br />
-- Detecting C compile features<br />
-- Detecting C compile features - done<br />
CMake Warning at C:/Qt/6.3.2/msvc2019_64/lib/cmake/Qt6/Qt6ConfigVersion.cmake:51 (message):<br />
Version 6.3.2 of package Qt6 was requested but an incompatible version was<br />
found: 6.3.2 (64bit).  You can pass -DQT_NO_PACKAGE_VERSION_CHECK=TRUE to<br />
disable the version check and force the incompatible version to be used.<br />
There is no guarantee the build will succeed.  Use at your own risk.  You<br />
can silence this warning by passing<br />
-DQT_NO_PACKAGE_VERSION_INCOMPATIBLE_WARNING=TRUE<br />
Call Stack (most recent call first):<br />
CMakeLists.txt:13 (find_package)</p>
]]></description><link>https://forum.qt.io/topic/139547/qmysql-plugin-build-error</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Jul 2026 04:33:07 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139547.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Sep 2022 19:10:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QMYSQL Plugin Build Error on Sat, 24 Sep 2022 19:22:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hskoglund">@<bdi>hskoglund</bdi></a> I</p>
<p dir="auto">I had checked that already. Different silly oversight as I had neglected to initialize my command prompt for x64.</p>
]]></description><link>https://forum.qt.io/post/730058</link><guid isPermaLink="true">https://forum.qt.io/post/730058</guid><dc:creator><![CDATA[HappyAct]]></dc:creator><pubDate>Sat, 24 Sep 2022 19:22:52 GMT</pubDate></item><item><title><![CDATA[Reply to QMYSQL Plugin Build Error on Sat, 24 Sep 2022 19:19:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi, just guessing but maybe you downloaded the 32-bit version of the MySQL Installer (instead of the 64-bit)?</p>
]]></description><link>https://forum.qt.io/post/730057</link><guid isPermaLink="true">https://forum.qt.io/post/730057</guid><dc:creator><![CDATA[hskoglund]]></dc:creator><pubDate>Sat, 24 Sep 2022 19:19:16 GMT</pubDate></item></channel></rss>