<?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[ZXing compiling error]]></title><description><![CDATA[<p dir="auto">I'm going to create a barcode reader program with ZXing.</p>
<p dir="auto">I've managed to retrieve the repository using <code>FetchContent</code>.</p>
<p dir="auto">However, whenever I compile, I get this error:</p>
<p dir="auto">:-1: error: ld.lld: error: undefined symbol: ZXingQt::BarcodeReader::metaObject() const</p>
<p dir="auto">There's more to this...</p>
<p dir="auto">The cmake is like this:</p>
<p dir="auto">target_link_libraries(appZXing<br />
PRIVATE Qt6::Quick<br />
ZXing::ZXing<br />
)</p>
]]></description><link>https://forum.qt.io/topic/164950/zxing-compiling-error</link><generator>RSS for Node</generator><lastBuildDate>Mon, 28 Sep 2026 10:37:19 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164950.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Jul 2026 19:13:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ZXing compiling error on Thu, 30 Jul 2026 19:52:21 GMT]]></title><description><![CDATA[<p dir="auto">I solved the problem by adding <code>#include "moc_ZXingQt.cpp"</code> to the end of the cpp file, but thanks anyway :)</p>
]]></description><link>https://forum.qt.io/post/839471</link><guid isPermaLink="true">https://forum.qt.io/post/839471</guid><dc:creator><![CDATA[AlperenCvs]]></dc:creator><pubDate>Thu, 30 Jul 2026 19:52:21 GMT</pubDate></item><item><title><![CDATA[Reply to ZXing compiling error on Thu, 30 Jul 2026 19:21:01 GMT]]></title><description><![CDATA[<pre><code>target_link_libraries(appZXing
    PRIVATE
    Qt6::Quick
    ZXing::ZXing
    ZXing::ZXingQt
)
</code></pre>
<p dir="auto">Do it like this</p>
]]></description><link>https://forum.qt.io/post/839469</link><guid isPermaLink="true">https://forum.qt.io/post/839469</guid><dc:creator><![CDATA[Nils Sjoberg]]></dc:creator><pubDate>Thu, 30 Jul 2026 19:21:01 GMT</pubDate></item></channel></rss>