<?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[building qt6 from source on windows 10 with mingw error &quot;set Qt6Core_FOUND to FALSE so package &quot;Qt6Core&quot; is considered to be   NOT FOUND&quot;]]></title><description><![CDATA[<p dir="auto">The command:</p>
<pre><code>..\configure.bat -static -static-runtime -release -opensource -confirm-license -platform win32-g++ -nomake examples -nomake tests -nomake tools -prefix "C:/libs/qt6"
</code></pre>
<p dir="auto">The error:</p>
<pre><code>..\configure.bat -static -static-runtime -release -opensource -confirm-license -platform win32-g++ -nomake examples -nomake tests -prefix "C:/libs/qt6"
+ cd qtbase
+ C:\Users\SpaceEye\qt6\qtbase\configure.bat -top-level -static -static-runtime -release -opensource -confirm-license -platform win32-g++ -nomake examples -nomake tests -prefix "C:/libs/qt6"
-- Windows 10 SDK version:
'C:/msys64/mingw64/bin/cmake.exe' '-DBUILD_SHARED_LIBS=OFF' '-DCMAKE_INSTALL_PREFIX=C:/libs/qt6' '-DQT_QMAKE_TARGET_MKSPEC=win32-g++' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE_BUILD_TYPE=Release' '-DINPUT_static_runtime=yes' '-G' 'Ninja' 'C:/Users/SpaceEye/qt6'
-- The CXX compiler identification is GNU 12.1.0
-- The C compiler identification is GNU 12.1.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/msys64/mingw64/bin/cc.exe
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking dependencies of submodule 'qtbase'
-- Checking dependencies of submodule 'qtimageformats'
-- Checking dependencies of submodule 'qtlanguageserver'
-- Checking dependencies of submodule 'qtshadertools'
-- Checking dependencies of submodule 'qtsvg'
-- Checking dependencies of submodule 'qtdeclarative'
-- Checking dependencies of submodule 'qtquicktimeline'
-- Checking dependencies of submodule 'qtquick3d'
-- Checking dependencies of submodule 'qtmultimedia'
-- Checking dependencies of submodule 'qt3d'
-- Checking dependencies of submodule 'qt5compat'
-- Checking dependencies of submodule 'qtactiveqt'
-- Checking dependencies of submodule 'qtcharts'
-- Checking dependencies of submodule 'qtcoap'
-- Checking dependencies of submodule 'qtconnectivity'
-- Checking dependencies of submodule 'qtdatavis3d'
-- Checking dependencies of submodule 'qtwebsockets'
-- Checking dependencies of submodule 'qthttpserver'
-- Checking dependencies of submodule 'qttools'
-- Checking dependencies of submodule 'qtdoc'
-- Checking dependencies of submodule 'qtgrpc'
-- Checking dependencies of submodule 'qtserialport'
-- Checking dependencies of submodule 'qtpositioning'
-- Checking dependencies of submodule 'qtlocation'
-- Checking dependencies of submodule 'qtlottie'
-- Checking dependencies of submodule 'qtmqtt'
-- Checking dependencies of submodule 'qtnetworkauth'
-- Checking dependencies of submodule 'qtopcua'
-- Checking dependencies of submodule 'qtqa'
-- Checking dependencies of submodule 'qtquick3dphysics'
-- Checking dependencies of submodule 'qtquickeffectmaker'
-- Checking dependencies of submodule 'qtremoteobjects'
-- Checking dependencies of submodule 'qtscxml'
-- Checking dependencies of submodule 'qtsensors'
-- Checking dependencies of submodule 'qtserialbus'
-- Checking dependencies of submodule 'qtspeech'
-- Checking dependencies of submodule 'qttranslations'
-- Checking dependencies of submodule 'qtvirtualkeyboard'
-- Checking dependencies of submodule 'qtwayland'
-- Checking dependencies of submodule 'qtwebchannel'
-- Checking dependencies of submodule 'qtwebengine'
-- Checking dependencies of submodule 'qtwebview'
-- Configuring submodule 'qtbase'
            -DCMAKE_C_FLAGS_DEBUG=-g
            -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
            -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
            -DCMAKE_CXX_FLAGS_DEBUG=-g
            -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
            -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
            -DCMAKE_OBJCOPY=C:/msys64/mingw64/bin/objcopy.exe
            -DCMAKE_C_STANDARD=11
            -DCMAKE_C_STANDARD_REQUIRED=ON
            -DCMAKE_CXX_STANDARD=17
            -DCMAKE_CXX_STANDARD_REQUIRED=ON
            -DCMAKE_MODULE_PATH:STRING=C:/Users/SpaceEye/qt6/qtbase/cmake/platforms
-- Configuring submodule 'qtimageformats'
CMake Error at C:/msys64/mingw64/lib/cmake/zstd/zstdTargets.cmake:37 (message):
  Some (but not all) targets in this export set were already defined.

  Targets Defined: zstd::libzstd_static

  Targets not yet defined: zstd::libzstd_shared

Call Stack (most recent call first):
  C:/msys64/mingw64/lib/cmake/zstd/zstdConfig.cmake:1 (include)
  qtbase/cmake/FindWrapZSTD.cmake:24 (find_package)
  C:/msys64/mingw64/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  qt6-build/qtbase/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:36 (find_dependency)
  qt6-build/qtbase/lib/cmake/Qt6Core/Qt6CoreDependencies.cmake:30 (_qt_internal_find_third_party_dependencies)
  qt6-build/qtbase/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:40 (include)
  qt6-build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package)
  qtimageformats/CMakeLists.txt:14 (find_package)


CMake Warning at qt6-build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package):
  Found package configuration file:

    C:/Users/SpaceEye/qt6/qt6-build/qtbase/lib/cmake/Qt6Core/Qt6CoreConfig.cmake

  but it set Qt6Core_FOUND to FALSE so package "Qt6Core" is considered to be
  NOT FOUND.
Call Stack (most recent call first):
  qtimageformats/CMakeLists.txt:14 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Users/SpaceEye/qt6/qt6-build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/SpaceEye/qt6/qt6-build/CMakeFiles/CMakeError.log".
CMake Error at C:/Users/SpaceEye/qt6/qtbase/cmake/QtProcessConfigureArgs.cmake:987 (message):
  CMake exited with code 1.
</code></pre>
<p dir="auto">CmakeOutput: <a href="https://drive.google.com/file/d/1J4EC-mPyslBRgFZiamUpgWAYMwfg8tb7/view?usp=sharing" target="_blank" rel="noopener noreferrer nofollow ugc">https://drive.google.com/file/d/1J4EC-mPyslBRgFZiamUpgWAYMwfg8tb7/view?usp=sharing</a><br />
CmakeError: <a href="https://drive.google.com/file/d/1iF4kR-BN5FJiHUjXDxH_pxRTeGo38n71/view?usp=sharing" target="_blank" rel="noopener noreferrer nofollow ugc">https://drive.google.com/file/d/1iF4kR-BN5FJiHUjXDxH_pxRTeGo38n71/view?usp=sharing</a></p>
<p dir="auto">The branch is origin/6.5. Using MSYS2.</p>
]]></description><link>https://forum.qt.io/topic/143260/building-qt6-from-source-on-windows-10-with-mingw-error-set-qt6core_found-to-false-so-package-qt6core-is-considered-to-be-not-found</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 13:32:39 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/143260.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 26 Feb 2023 12:20:06 GMT</pubDate><ttl>60</ttl></channel></rss>