<?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[configuring QT with webassembly issue: failed on Qt6ProtobufTools, WrapProtoc not found]]></title><description><![CDATA[<p dir="auto">I was trying to build QT 6.5.2  to generate WebAssembly library framework. I followed instructions in <a href="https://doc.qt.io/qt-6/wasm.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/wasm.html</a> as well as this post <a href="https://forum.qt.io/topic/137522/build-qt-6-3-0-to-generate-webassembly-library-framework">https://forum.qt.io/topic/137522/build-qt-6-3-0-to-generate-webassembly-library-framework</a></p>
<p dir="auto">I downloaded emsdk set it up and run it like this</p>
<pre><code>./emsdk install 3.1.25
./emsdk activate 3.1.25
</code></pre>
<p dir="auto">i went to my QT source</p>
<pre><code>cd C:\Qt\6.5.2\Src
</code></pre>
<p dir="auto">and ran</p>
<pre><code>./configure.bat -qt-host-path C:\Qt\6.5.2\mingw_64 -no-warnings-are-errors -feature-opengles3  -device-option QT_EMSCRIPTEN_ASYNCIFY=1 -platform wasm-emscripten -prefix $PWD/qtbase
</code></pre>
<p dir="auto">but i enouncter an issue that is blocking me</p>
<pre><code>-- Configuring submodule 'qtwebengine'
[QtWebEngine] -- Support check for QtWebEngine failed: Build can be done only on Linux, Windows or macOS.
[QtWebEngine] -- Support check for QtPdf failed: Build can be done only on Linux, Windows, macO, iOS and Android(on non-Windows hosts only).
-- Configuring submodule 'qtdoc'
-- Configuring submodule 'qtgrpc'
CMake Warning at qtgrpc/src/tools/host/CMakeLists.txt:20 (find_package):
  Found package configuration file:

    C:/Qt/6.5.2/mingw_64/lib/cmake/Qt6ProtobufTools/Qt6ProtobufToolsConfig.cmake

  but it set Qt6ProtobufTools_FOUND to FALSE so package "Qt6ProtobufTools" is
  considered to be NOT FOUND.  Reason given by package:

  Qt6ProtobufTools could not be found because dependency WrapProtoc could not
  be found.



CMake Warning at qtgrpc/src/tools/host/CMakeLists.txt:28 (find_package):
  Found package configuration file:

    C:/Qt/6.5.2/mingw_64/lib/cmake/Qt6GrpcTools/Qt6GrpcToolsConfig.cmake

  but it set Qt6GrpcTools_FOUND to FALSE so package "Qt6GrpcTools" is
  considered to be NOT FOUND.  Reason given by package:

  Qt6GrpcTools could not be found because dependency WrapProtoc could not be
  found.



CMake Error at qtbase/cmake/QtPublicTargetHelpers.cmake:257 (get_property):
  get_property could not find TARGET Qt6::qtprotobufgen.  Perhaps it has not
  yet been created.
Call Stack (most recent call first):
  C:/Qt/6.5.2/mingw_64/lib/cmake/Qt6ProtobufTools/Qt6ProtobufToolsConfig.cmake:56 (__qt_internal_promote_target_to_global)
  qtbase/cmake/QtToolHelpers.cmake:642 (find_package)
  qtbase/cmake/QtToolHelpers.cmake:72 (qt_internal_find_tool)
  qtgrpc/src/tools/qtprotobufgen/CMakeLists.txt:5 (qt_internal_add_tool)


CMake Warning at qtbase/cmake/QtToolHelpers.cmake:642 (find_package):
  Found package configuration file:

    C:/Qt/6.5.2/mingw_64/lib/cmake/Qt6ProtobufTools/Qt6ProtobufToolsConfig.cmake

  but it set Qt6ProtobufTools_FOUND to FALSE so package "Qt6ProtobufTools" is
  considered to be NOT FOUND.  Reason given by package:

  Qt6ProtobufTools could not be found because dependency WrapProtoc could not
  be found.

Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:72 (qt_internal_find_tool)
  qtgrpc/src/tools/qtprotobufgen/CMakeLists.txt:5 (qt_internal_add_tool)


CMake Error at qtbase/cmake/QtToolHelpers.cmake:684 (message):
  Failed to find the host tool "Qt6::qtprotobufgen".  It is part of the
  Qt6ProtobufTools package, but the package could not be found.  Make sure
  you have built and installed the host Protobuf module, which will ensure
  the creation of the Qt6ProtobufTools package.
Call Stack (most recent call first):
  qtbase/cmake/QtToolHelpers.cmake:72 (qt_internal_find_tool)
  qtgrpc/src/tools/qtprotobufgen/CMakeLists.txt:5 (qt_internal_add_tool)


-- Configuring incomplete, errors occurred!
See also "C:/Qt/6.5.2/Src/CMakeFiles/CMakeOutput.log".
See also "C:/Qt/6.5.2/Src/CMakeFiles/CMakeError.log".
CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:998 (message):
  CMake exited with code 1.
</code></pre>
<p dir="auto">What am I missing here?</p>
]]></description><link>https://forum.qt.io/topic/148103/configuring-qt-with-webassembly-issue-failed-on-qt6protobuftools-wrapprotoc-not-found</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 18:18:44 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/148103.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 Aug 2023 02:36:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to configuring QT with webassembly issue: failed on Qt6ProtobufTools, WrapProtoc not found on Fri, 17 May 2024 08:58:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/semlanik">@<bdi>semlanik</bdi></a> said in <a href="/post/785096">configuring QT with webassembly issue: failed on Qt6ProtobufTools, WrapProtoc not found</a>:</p>
<blockquote>
<p dir="auto">-skip qtgrpc also can help in this case, if you don't need it in your Qt build.</p>
</blockquote>
<p dir="auto">Yep - or uninstall Qt Protobuf component using the maintaince tool.</p>
]]></description><link>https://forum.qt.io/post/800262</link><guid isPermaLink="true">https://forum.qt.io/post/800262</guid><dc:creator><![CDATA[srce]]></dc:creator><pubDate>Fri, 17 May 2024 08:58:41 GMT</pubDate></item><item><title><![CDATA[Reply to configuring QT with webassembly issue: failed on Qt6ProtobufTools, WrapProtoc not found on Thu, 04 Jan 2024 06:29:46 GMT]]></title><description><![CDATA[<p dir="auto">-skip qtgrpc also can help in this case, if you don't need it in your Qt build.</p>
]]></description><link>https://forum.qt.io/post/785096</link><guid isPermaLink="true">https://forum.qt.io/post/785096</guid><dc:creator><![CDATA[semlanik]]></dc:creator><pubDate>Thu, 04 Jan 2024 06:29:46 GMT</pubDate></item><item><title><![CDATA[Reply to configuring QT with webassembly issue: failed on Qt6ProtobufTools, WrapProtoc not found on Tue, 02 Jan 2024 19:13:00 GMT]]></title><description><![CDATA[<p dir="auto">I have this error when cross-compile Qt 6.6.1 for raspberry pi<br />
have you installed the protobuf-compiler<br />
you can use</p>
<pre><code>$ protoc --version
</code></pre>
<p dir="auto">to check it<br />
The error is solved after I installed the protobuf-compiler</p>
<pre><code>$ sudo apt install -y protobuf-compiler
</code></pre>
]]></description><link>https://forum.qt.io/post/784924</link><guid isPermaLink="true">https://forum.qt.io/post/784924</guid><dc:creator><![CDATA[QUABS]]></dc:creator><pubDate>Tue, 02 Jan 2024 19:13:00 GMT</pubDate></item></channel></rss>