<?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[QTSerialPort Problem]]></title><description><![CDATA[<p dir="auto">Dear all:<br />
I'm new user on QT. Now I want to use function of class that name "QSerialPort", i can include the .h file and Qt Creator also recognize them, but when i compiled, I got faults. The content of fault is following:</p>
<p dir="auto">"LINK2019: unresolved external symbol "__declspec(dllimport)public: virtual _thiscall QSP::~QSerialPort(void)" (_<em>imp</em>??1QSerialPort@@UAE@XZ referenced in function _main"</p>
<p dir="auto">It seems is QT can't find the definition of function in "QSerialPort", my computer is 64-bit and compiler is "Microsoft Visual C++ Compiler 10.0(x86)", Qt version is "Qt 5.1.0(msvc2010) in my configuration, the QT I downloaded is 32-bit. Anyone has same problem ?? Or can someone  give me some suggestions??<br />
Thanks.</p>
]]></description><link>https://forum.qt.io/topic/29591/qtserialport-problem</link><generator>RSS for Node</generator><lastBuildDate>Thu, 07 May 2026 06:47:05 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/29591.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Jul 2013 14:52:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QTSerialPort Problem on Thu, 18 Jul 2013 15:37:15 GMT]]></title><description><![CDATA[<p dir="auto">I resolved from your suggestions. Thank you :))</p>
]]></description><link>https://forum.qt.io/post/186997</link><guid isPermaLink="true">https://forum.qt.io/post/186997</guid><dc:creator><![CDATA[Ivan1120]]></dc:creator><pubDate>Thu, 18 Jul 2013 15:37:15 GMT</pubDate></item><item><title><![CDATA[Reply to QTSerialPort Problem on Thu, 18 Jul 2013 15:26:41 GMT]]></title><description><![CDATA[<p dir="auto">You need to tell Qt that you want to use the QSerialPort module. You can do this by adding the line</p>
<p dir="auto">QT += serialport</p>
<p dir="auto">to your .pro file.</p>
<p dir="auto"><a href="http://qt-project.org/doc/qt-5.1/qtserialport/qtserialport-index.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-5.1/qtserialport/qtserialport-index.html</a></p>
<p dir="auto">Good luck!</p>
]]></description><link>https://forum.qt.io/post/186994</link><guid isPermaLink="true">https://forum.qt.io/post/186994</guid><dc:creator><![CDATA[t3685]]></dc:creator><pubDate>Thu, 18 Jul 2013 15:26:41 GMT</pubDate></item></channel></rss>