<?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[Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors]]></title><description><![CDATA[<p dir="auto">On Windows 10, Qt 5.11.3 builds my application without any issue. However Qt 5.12.1, throws LINKER errors:</p>
<blockquote>
<p dir="auto">main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl NetLibrary::registerNetLibraryQML(void)" (_<em>imp</em>?registerNetLibraryQML@NetLibrary@@YAXXZ) referenced in function main<br />
debug\application.exe : fatal error LNK1120: 1 unresolved externals</p>
</blockquote>
<p dir="auto">my <code>main.cpp</code> is like:</p>
<pre><code>#include "../netlib/netlib.h"

int main(int argc, char *argv[])
{
    // ...
    NetLibrary::registerNetLibraryQML();
    // ...
}
</code></pre>
<p dir="auto">My <code>netlib.h</code> contains:</p>
<pre><code>namespace NetLibrary {

NETLIBSHARED_EXPORT void registerNetLibraryQML();

}
</code></pre>
<p dir="auto">And my <code>netlib.cpp</code> contains:</p>
<pre><code>namespace NetLibrary {

NETLIBSHARED_EXPORT void registerNetLibraryQML()
{
    static bool registered = false;
    if (!registered) {
        qmlRegisterType&lt;Netlib&gt;("com.application.Application", 1, 0, "Netlib");
        registered = true;
    }
}

}
</code></pre>
<p dir="auto">I wonder why Qt 5.11.3 has no linker issue, but Qt 5.12.1 runs into errors.</p>
]]></description><link>https://forum.qt.io/topic/100550/qt-5-11-3-works-fine-but-qt-5-12-1-throws-linker-errors</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 11:43:33 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/100550.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 Mar 2019 13:17:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Sat, 16 Mar 2019 06:57:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hskoglund">@<bdi>hskoglund</bdi></a></p>
<p dir="auto">Hi, Thanks! Problem got resolved by renaming the <code>netlib</code> library to <code>netagentlib</code>, and Qt 5.12.1 builds and runs the application without any issue.</p>
<p dir="auto">These are all my code changes to rename the library:</p>
<p dir="auto">On my <strong>netlib</strong> library project file i.e. <code>netlib.pro</code> file I changed:</p>
<pre><code>-TARGET = netlib
+TARGET = netagentlib
</code></pre>
<p dir="auto">Also, on my application executable project <code>*.pro</code> file I replaced these lines:</p>
<pre><code>win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../netlib/release/ -lnetlib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../netlib/debug/ -lnetlib
else:unix: LIBS += -L$$OUT_PWD/../netlib/ -lnetlib
</code></pre>
<p dir="auto">with these lines:</p>
<pre><code>win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../netlib/release/ -lnetagentlib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../netlib/debug/ -lnetagentlib
else:unix: LIBS += -L$$OUT_PWD/../netlib/ -lnetagentlib
</code></pre>
]]></description><link>https://forum.qt.io/post/517772</link><guid isPermaLink="true">https://forum.qt.io/post/517772</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Sat, 16 Mar 2019 06:57:49 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Fri, 15 Mar 2019 16:28:36 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/mchinand">@<bdi>mchinand</bdi></a>!</p>
<p dir="auto">In Qt 5.12.1  <a class="plugin-mentions-user plugin-mentions-a" href="/user/m3g1dd">@<bdi>m3g1dd</bdi></a> 's netlib.lib gets muscled out by the big wheels at Microsoft, when I do a dir of the Windows Kits on my C: indeed there's a netlib.lib there. And that's what the linker tries to link with.</p>
<p dir="auto">So either as I mentioned above go do that renaming, or wait for 5.12.3.</p>
]]></description><link>https://forum.qt.io/post/517725</link><guid isPermaLink="true">https://forum.qt.io/post/517725</guid><dc:creator><![CDATA[hskoglund]]></dc:creator><pubDate>Fri, 15 Mar 2019 16:28:36 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Fri, 15 Mar 2019 16:33:08 GMT]]></title><description><![CDATA[<p dir="auto">In 5.12.1, default Windows library paths (e.g., Windows Kits) were added to the search path in qmake's makefile generator, but were added before the user-specified paths instead of after. There's already a commit to fix this and should be in 5.12.3. See this <a href="https://bugreports.qt.io/browse/QTBUG-73959" target="_blank" rel="noopener noreferrer nofollow ugc">bugreport</a></p>
]]></description><link>https://forum.qt.io/post/517715</link><guid isPermaLink="true">https://forum.qt.io/post/517715</guid><dc:creator><![CDATA[mchinand]]></dc:creator><pubDate>Fri, 15 Mar 2019 16:33:08 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Thu, 14 Mar 2019 23:02:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi, the dumpbin for 5.12.1 is identical to 5.12.0. Seems netlib.lib is the innocent guy here. So it must be the client program, i.e. your main.cpp, perhaps some kind of visibility problem. We're running out of options so I'm thinking you could try renaming your library to something less generic/vanilla (there are many other libraries called <a href="http://netlib.xxx" target="_blank" rel="noopener noreferrer nofollow ugc">netlib.xxx</a> out there, perhaps one of them has snuck into in 5.12.1)</p>
<p dir="auto">So say instead of <strong>netlib</strong> you could call it <strong>m3gnetlib</strong> (prefixing with half of your username).<br />
That would mean changing the .pro file, the .h and .cpp files and also the #define from NETLIBSHARED_EXPORT to M3GNETLIBSHARED_EXPORT.</p>
<p dir="auto">I remember running into similar inexplicable issues in the past, and renaming the files helped (sometimes :-)</p>
]]></description><link>https://forum.qt.io/post/517581</link><guid isPermaLink="true">https://forum.qt.io/post/517581</guid><dc:creator><![CDATA[hskoglund]]></dc:creator><pubDate>Thu, 14 Mar 2019 23:02:37 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Thu, 14 Mar 2019 07:45:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hskoglund">@<bdi>hskoglund</bdi></a></p>
<p dir="auto">I double-checked to make sure nothing is missed:</p>
<ol>
<li><code>Qt_5_12_0_MSVC2017_64bit-Debug</code> links fine and application runs :)</li>
<li><code>Qt_5_12_0_MSVC2017_64bit-Release</code> links fine and application runs :)</li>
<li><code>Qt_5_12_1_MSVC2017_64bit-Debug</code> throws:</li>
</ol>
<blockquote>
<p dir="auto">main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl NetLibrary::registerNetLibraryQML(void)" (_<em>imp</em>?registerNetLibraryQML@NetLibrary@@YAXXZ) referenced in function main</p>
</blockquote>
<ol start="4">
<li><code>Qt_5_12_1_MSVC2017_64bit-Release</code> throws:</li>
</ol>
<blockquote>
<p dir="auto">main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl NetLibrary::registerNetLibraryQML(void)" (_<em>imp</em>?registerNetLibraryQML@NetLibrary@@YAXXZ) referenced in function main</p>
</blockquote>
<hr />
<p dir="auto">Also, here is the dumpbin for <code>netlib.lib</code> on <code>Qt_5_12_0_MSVC2017_64bit-Debug</code> which links fine and works nice:</p>
<pre><code>C:\Users\me\repos\build-application-Desktop_Qt_5_12_0_MSVC2017_64bit-Debug\netlib\debug&gt;dumpbin /linkermember netlib.lib
Microsoft (R) COFF/PE Dumper Version 14.15.26730.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file netlib.lib

File Type: LIBRARY

Archive member name at 8: /
FFFFFFFF time/date
         uid
         gid
       0 mode
     C3D size
correct header end

    69 public symbols

     190A __IMPORT_DESCRIPTOR_netlib
     1B30 __NULL_IMPORT_DESCRIPTOR
     1C66 netlib_NULL_THUNK_DATA
     2878 ?registerNetLibraryQML@NetLibrary@@YAXXZ
     2878 __imp_?registerNetLibraryQML@NetLibrary@@YAXXZ
     2E0C ?tr@Netlib@@SA?AVQString@@PEBD0H@Z
     2E0C __imp_?tr@Netlib@@SA?AVQString@@PEBD0H@Z
     2E8A ?trUtf8@Netlib@@SA?AVQString@@PEBD0H@Z
     2E8A __imp_?trUtf8@Netlib@@SA?AVQString@@PEBD0H@Z
     1DBE ??0Netlib@@QEAA@XZ
     1DBE __imp_??0Netlib@@QEAA@XZ
     1E2C ??1Netlib@@UEAA@XZ
     1E2C __imp_??1Netlib@@UEAA@XZ
     1F06 ?agentDiscover@Netlib@@QEAAXXZ
     1F06 __imp_?agentDiscover@Netlib@@QEAAXXZ
     1FFA ?agentSlice@Netlib@@QEAA_NAEBVQUrl@@AEBVQString@@V3@222@Z
     1FFA __imp_?agentSlice@Netlib@@QEAA_NAEBVQUrl@@AEBVQString@@V3@222@Z
     210E ?discoveryInProgress@Netlib@@QEBA_NXZ
     210E __imp_?discoveryInProgress@Netlib@@QEBA_NXZ
     28FC ?setDiscoveryInProgress@Netlib@@QEAAX_N@Z
     28FC __imp_?setDiscoveryInProgress@Netlib@@QEAAX_N@Z
     2C7E ?slicingInProgress@Netlib@@QEBA_NXZ
     2C7E __imp_?slicingInProgress@Netlib@@QEBA_NXZ
     2A82 ?setSlicingInProgress@Netlib@@QEAAX_N@Z
     2A82 __imp_?setSlicingInProgress@Netlib@@QEAAX_N@Z
     2530 ?layerID@Netlib@@QEBA?AVQString@@XZ
     2530 __imp_?layerID@Netlib@@QEBA?AVQString@@XZ
     2982 ?setLayerID@Netlib@@QEAAXVQString@@@Z
     2982 __imp_?setLayerID@Netlib@@QEAAXVQString@@@Z
     2B82 ?slicingDone@Netlib@@QEBA_NXZ
     2B82 __imp_?slicingDone@Netlib@@QEBA_NXZ
     2A04 ?setSlicingDone@Netlib@@QEAAX_N@Z
     2A04 __imp_?setSlicingDone@Netlib@@QEAAX_N@Z
     24BE ?init@Netlib@@AEAAXXZ
     24BE __imp_?init@Netlib@@AEAAXXZ
     22AA ?getOsName@Netlib@@AEAA?AVQString@@XZ
     22AA __imp_?getOsName@Netlib@@AEAA?AVQString@@XZ
     2090 ?discoveryFinished@Netlib@@AEAAXXZ
     2090 __imp_?discoveryFinished@Netlib@@AEAAXXZ
     2B06 ?slicerFinished@Netlib@@AEAAXXZ
     2B06 __imp_?slicerFinished@Netlib@@AEAAXXZ
     1F80 ?agentLogReady@Netlib@@AEAAXXZ
     1F80 __imp_?agentLogReady@Netlib@@AEAAXXZ
     2430 ?handleSlicingInProgressChanged@Netlib@@AEAAX_N@Z
     2430 __imp_?handleSlicingInProgressChanged@Netlib@@AEAAX_N@Z
     232C ?getSlicerProgress@Netlib@@AEAAXXZ
     232C __imp_?getSlicerProgress@Netlib@@AEAAXXZ
     23AA ?getSlicerProgressFinished@Netlib@@AEAAXXZ
     23AA __imp_?getSlicerProgressFinished@Netlib@@AEAAXXZ
     1E9A __imp_??_7Netlib@@6B@
     2636 ?metaObject@Netlib@@UEBAPEBUQMetaObject@@XZ
     2636 __imp_?metaObject@Netlib@@UEBAPEBUQMetaObject@@XZ
     2752 ?qt_metacast@Netlib@@UEAAPEAXPEBD@Z
     2752 __imp_?qt_metacast@Netlib@@UEAAPEAXPEBD@Z
     26BE ?qt_metacall@Netlib@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z
     26BE __imp_?qt_metacall@Netlib@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z
     27D2 ?qt_static_metacall@Netlib@@CAXPEAVQObject@@W4Call@QMetaObject@@HPEAPEAX@Z
     27D2 __imp_?qt_static_metacall@Netlib@@CAXPEAVQObject@@W4Call@QMetaObject@@HPEAPEAX@Z
     2190 ?discoveryInProgressChanged@Netlib@@QEAAX_N@Z
     2190 __imp_?discoveryInProgressChanged@Netlib@@QEAAX_N@Z
     221A ?discoveryResultChanged@Netlib@@QEAAXVQJsonArray@@@Z
     221A __imp_?discoveryResultChanged@Netlib@@QEAAXVQJsonArray@@@Z
     2CFE ?slicingInProgressChanged@Netlib@@QEAAX_N@Z
     2CFE __imp_?slicingInProgressChanged@Netlib@@QEAAX_N@Z
     25B0 ?layerIDChanged@Netlib@@QEAAXVQString@@@Z
     25B0 __imp_?layerIDChanged@Netlib@@QEAAXVQString@@@Z
     2BFC ?slicingDoneChanged@Netlib@@QEAAX_N@Z
     2BFC __imp_?slicingDoneChanged@Netlib@@QEAAX_N@Z
     2D86 __imp_?staticMetaObject@Netlib@@2UQMetaObject@@B

Archive member name at C82: /
FFFFFFFF time/date
         uid
         gid
       0 mode
     C4B size
correct header end

    37 offsets

        1     190A
        2     1B30
        3     1C66
        4     2878
        5     2E0C
        6     2E8A
        7     1DBE
        8     1E2C
        9     1F06
        A     1FFA
        B     210E
        C     28FC
        D     2C7E
        E     2A82
        F     2530
       10     2982
       11     2B82
       12     2A04
       13     24BE
       14     22AA
       15     2090
       16     2B06
       17     1F80
       18     2430
       19     232C
       1A     23AA
       1B     1E9A
       1C     2636
       1D     2752
       1E     26BE
       1F     27D2
       20     2190
       21     221A
       22     2CFE
       23     25B0
       24     2BFC
       25     2D86

    69 public symbols

        7 ??0Netlib@@QEAA@XZ
        8 ??1Netlib@@UEAA@XZ
        9 ?agentDiscover@Netlib@@QEAAXXZ
       17 ?agentLogReady@Netlib@@AEAAXXZ
        A ?agentSlice@Netlib@@QEAA_NAEBVQUrl@@AEBVQString@@V3@222@Z
       15 ?discoveryFinished@Netlib@@AEAAXXZ
        B ?discoveryInProgress@Netlib@@QEBA_NXZ
       20 ?discoveryInProgressChanged@Netlib@@QEAAX_N@Z
       21 ?discoveryResultChanged@Netlib@@QEAAXVQJsonArray@@@Z
       14 ?getOsName@Netlib@@AEAA?AVQString@@XZ
       19 ?getSlicerProgress@Netlib@@AEAAXXZ
       1A ?getSlicerProgressFinished@Netlib@@AEAAXXZ
       18 ?handleSlicingInProgressChanged@Netlib@@AEAAX_N@Z
       13 ?init@Netlib@@AEAAXXZ
        F ?layerID@Netlib@@QEBA?AVQString@@XZ
       23 ?layerIDChanged@Netlib@@QEAAXVQString@@@Z
       1C ?metaObject@Netlib@@UEBAPEBUQMetaObject@@XZ
       1E ?qt_metacall@Netlib@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z
       1D ?qt_metacast@Netlib@@UEAAPEAXPEBD@Z
       1F ?qt_static_metacall@Netlib@@CAXPEAVQObject@@W4Call@QMetaObject@@HPEAPEAX@Z
        4 ?registerNetLibraryQML@NetLibrary@@YAXXZ
        C ?setDiscoveryInProgress@Netlib@@QEAAX_N@Z
       10 ?setLayerID@Netlib@@QEAAXVQString@@@Z
       12 ?setSlicingDone@Netlib@@QEAAX_N@Z
        E ?setSlicingInProgress@Netlib@@QEAAX_N@Z
       16 ?slicerFinished@Netlib@@AEAAXXZ
       11 ?slicingDone@Netlib@@QEBA_NXZ
       24 ?slicingDoneChanged@Netlib@@QEAAX_N@Z
        D ?slicingInProgress@Netlib@@QEBA_NXZ
       22 ?slicingInProgressChanged@Netlib@@QEAAX_N@Z
        5 ?tr@Netlib@@SA?AVQString@@PEBD0H@Z
        6 ?trUtf8@Netlib@@SA?AVQString@@PEBD0H@Z
        1 __IMPORT_DESCRIPTOR_netlib
        2 __NULL_IMPORT_DESCRIPTOR
        7 __imp_??0Netlib@@QEAA@XZ
        8 __imp_??1Netlib@@UEAA@XZ
       1B __imp_??_7Netlib@@6B@
        9 __imp_?agentDiscover@Netlib@@QEAAXXZ
       17 __imp_?agentLogReady@Netlib@@AEAAXXZ
        A __imp_?agentSlice@Netlib@@QEAA_NAEBVQUrl@@AEBVQString@@V3@222@Z
       15 __imp_?discoveryFinished@Netlib@@AEAAXXZ
        B __imp_?discoveryInProgress@Netlib@@QEBA_NXZ
       20 __imp_?discoveryInProgressChanged@Netlib@@QEAAX_N@Z
       21 __imp_?discoveryResultChanged@Netlib@@QEAAXVQJsonArray@@@Z
       14 __imp_?getOsName@Netlib@@AEAA?AVQString@@XZ
       19 __imp_?getSlicerProgress@Netlib@@AEAAXXZ
       1A __imp_?getSlicerProgressFinished@Netlib@@AEAAXXZ
       18 __imp_?handleSlicingInProgressChanged@Netlib@@AEAAX_N@Z
       13 __imp_?init@Netlib@@AEAAXXZ
        F __imp_?layerID@Netlib@@QEBA?AVQString@@XZ
       23 __imp_?layerIDChanged@Netlib@@QEAAXVQString@@@Z
       1C __imp_?metaObject@Netlib@@UEBAPEBUQMetaObject@@XZ
       1E __imp_?qt_metacall@Netlib@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z
       1D __imp_?qt_metacast@Netlib@@UEAAPEAXPEBD@Z
       1F __imp_?qt_static_metacall@Netlib@@CAXPEAVQObject@@W4Call@QMetaObject@@HPEAPEAX@Z
        4 __imp_?registerNetLibraryQML@NetLibrary@@YAXXZ
        C __imp_?setDiscoveryInProgress@Netlib@@QEAAX_N@Z
       10 __imp_?setLayerID@Netlib@@QEAAXVQString@@@Z
       12 __imp_?setSlicingDone@Netlib@@QEAAX_N@Z
        E __imp_?setSlicingInProgress@Netlib@@QEAAX_N@Z
       16 __imp_?slicerFinished@Netlib@@AEAAXXZ
       11 __imp_?slicingDone@Netlib@@QEBA_NXZ
       24 __imp_?slicingDoneChanged@Netlib@@QEAAX_N@Z
        D __imp_?slicingInProgress@Netlib@@QEBA_NXZ
       22 __imp_?slicingInProgressChanged@Netlib@@QEAAX_N@Z
       25 __imp_?staticMetaObject@Netlib@@2UQMetaObject@@B
        5 __imp_?tr@Netlib@@SA?AVQString@@PEBD0H@Z
        6 __imp_?trUtf8@Netlib@@SA?AVQString@@PEBD0H@Z
        3 netlib_NULL_THUNK_DATA

  Summary

          C0 .debug$S
          14 .idata$2
          14 .idata$3
           8 .idata$4
           8 .idata$5
           C .idata$6
</code></pre>
]]></description><link>https://forum.qt.io/post/517410</link><guid isPermaLink="true">https://forum.qt.io/post/517410</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Thu, 14 Mar 2019 07:45:43 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Wed, 13 Mar 2019 13:17:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hskoglund">@<bdi>hskoglund</bdi></a></p>
<p dir="auto">Let me double-check everything again ... I'll give an update ...</p>
]]></description><link>https://forum.qt.io/post/517294</link><guid isPermaLink="true">https://forum.qt.io/post/517294</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Wed, 13 Mar 2019 13:17:08 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Wed, 13 Mar 2019 11:20:41 GMT]]></title><description><![CDATA[<p dir="auto">Hmm, just to check again: release builds and debug builds on 5.12.0 MSVC 2017 links fine and dandy, but the same linker throws a tantrum both for release and debug builds on 5.12.1 MSVC 2017.</p>
<p dir="auto">Also, could do you a similar dumpbin on a 5.12.0 debug built netlib.lib as you did above for a 5.12.1 debug build?</p>
]]></description><link>https://forum.qt.io/post/517269</link><guid isPermaLink="true">https://forum.qt.io/post/517269</guid><dc:creator><![CDATA[hskoglund]]></dc:creator><pubDate>Wed, 13 Mar 2019 11:20:41 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Wed, 13 Mar 2019 06:29:47 GMT]]></title><description><![CDATA[<p dir="auto">I reinstalled Qt <code>5.12.1</code> but it still throws the above-mentioned linker error. So basically, my observation is:</p>
<ol>
<li>On Windows, Qt <code>5.11.3</code> and <code>5.12.0</code> work fine</li>
<li>On Windows, Qt <code>5.12.1</code> throws <strong>linker error</strong></li>
<li>On Linux openSUSE Leap 15, Qt <code>5.12.1</code> works fine</li>
</ol>
]]></description><link>https://forum.qt.io/post/517204</link><guid isPermaLink="true">https://forum.qt.io/post/517204</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Wed, 13 Mar 2019 06:29:47 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Tue, 12 Mar 2019 12:02:58 GMT]]></title><description><![CDATA[<p dir="auto">New observation: I installed <code>Qt5.12.0</code> and my application compiles/links/runs just fine. I'm going to re-install <code>Qt5.12.1</code> ... I have a feeling maybe re-installing it will resolve linker errors ... lets see ...</p>
]]></description><link>https://forum.qt.io/post/517021</link><guid isPermaLink="true">https://forum.qt.io/post/517021</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Tue, 12 Mar 2019 12:02:58 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Tue, 12 Mar 2019 09:32:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hskoglund">@<bdi>hskoglund</bdi></a></p>
<p dir="auto">Hi! Thanks for follow up :)</p>
<p dir="auto">For Qt 5.11.3 I'm using <code>MSVC2017_64bit</code> which works fine. My build directories are:</p>
<pre><code>build-application-Desktop_Qt_5_11_3_MSVC2017_64bit-Debug
build-application-Desktop_Qt_5_11_3_MSVC2017_64bit-Release
build-application-Desktop_Qt_5_12_1_MSVC2017_64bit-Debug
</code></pre>
]]></description><link>https://forum.qt.io/post/516984</link><guid isPermaLink="true">https://forum.qt.io/post/516984</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Tue, 12 Mar 2019 09:32:11 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Tue, 12 Mar 2019 08:35:04 GMT]]></title><description><![CDATA[<p dir="auto">Hi, just to check, what version of MSVC did you use for Qt 5.11.3 (when the linking worked), was it MSVC 2017 32-bit or MSVC 2017 64-bit?</p>
]]></description><link>https://forum.qt.io/post/516962</link><guid isPermaLink="true">https://forum.qt.io/post/516962</guid><dc:creator><![CDATA[hskoglund]]></dc:creator><pubDate>Tue, 12 Mar 2019 08:35:04 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Tue, 12 Mar 2019 06:02:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christian-ehrlicher">@<bdi>Christian-Ehrlicher</bdi></a></p>
<p dir="auto">Thanks! Yes, other functions of <code>netlib</code> are linked fine. I will update if I figure out the cause :)</p>
]]></description><link>https://forum.qt.io/post/516933</link><guid isPermaLink="true">https://forum.qt.io/post/516933</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Tue, 12 Mar 2019 06:02:41 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Tue, 12 Mar 2019 07:25:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hskoglund">@<bdi>hskoglund</bdi></a></p>
<p dir="auto">Thanks! I run the command on Developer <em>Command Prompt for VS 2017</em> and I get the results, I can see both <code>?registerNetLibraryQML@NetLibrary@@YAXXZ</code> and <code>__imp_?registerNetLibraryQML@NetLibrary@@YAXXZ</code> expressions:</p>
<pre><code>C:\Users\me\repos\build-application-Desktop_Qt_5_12_1_MSVC2017_64bit-Debug\netlib\debug&gt;dumpbin /linkermember netlib.lib
Microsoft (R) COFF/PE Dumper Version 14.15.26730.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file netlib.lib

File Type: LIBRARY

Archive member name at 8: /
FFFFFFFF time/date
         uid
         gid
       0 mode
     C3D size
correct header end

    69 public symbols

     190A __IMPORT_DESCRIPTOR_netlib
     1B30 __NULL_IMPORT_DESCRIPTOR
     1C66 netlib_NULL_THUNK_DATA
     2878 ?registerNetLibraryQML@NetLibrary@@YAXXZ
     2878 __imp_?registerNetLibraryQML@NetLibrary@@YAXXZ
     2E0C ?tr@Netlib@@SA?AVQString@@PEBD0H@Z
     2E0C __imp_?tr@Netlib@@SA?AVQString@@PEBD0H@Z
     2E8A ?trUtf8@Netlib@@SA?AVQString@@PEBD0H@Z
     2E8A __imp_?trUtf8@Netlib@@SA?AVQString@@PEBD0H@Z
     1DBE ??0Netlib@@QEAA@XZ
     1DBE __imp_??0Netlib@@QEAA@XZ
     1E2C ??1Netlib@@UEAA@XZ
     1E2C __imp_??1Netlib@@UEAA@XZ
     1F06 ?agentDiscover@Netlib@@QEAAXXZ
     1F06 __imp_?agentDiscover@Netlib@@QEAAXXZ
     1FFA ?agentSlice@Netlib@@QEAA_NAEBVQUrl@@AEBVQString@@V3@222@Z
     1FFA __imp_?agentSlice@Netlib@@QEAA_NAEBVQUrl@@AEBVQString@@V3@222@Z
     210E ?discoveryInProgress@Netlib@@QEBA_NXZ
     210E __imp_?discoveryInProgress@Netlib@@QEBA_NXZ
     28FC ?setDiscoveryInProgress@Netlib@@QEAAX_N@Z
     28FC __imp_?setDiscoveryInProgress@Netlib@@QEAAX_N@Z
     2C7E ?slicingInProgress@Netlib@@QEBA_NXZ
     2C7E __imp_?slicingInProgress@Netlib@@QEBA_NXZ
     2A82 ?setSlicingInProgress@Netlib@@QEAAX_N@Z
     2A82 __imp_?setSlicingInProgress@Netlib@@QEAAX_N@Z
     2530 ?layerID@Netlib@@QEBA?AVQString@@XZ
     2530 __imp_?layerID@Netlib@@QEBA?AVQString@@XZ
     2982 ?setLayerID@Netlib@@QEAAXVQString@@@Z
     2982 __imp_?setLayerID@Netlib@@QEAAXVQString@@@Z
     2B82 ?slicingDone@Netlib@@QEBA_NXZ
     2B82 __imp_?slicingDone@Netlib@@QEBA_NXZ
     2A04 ?setSlicingDone@Netlib@@QEAAX_N@Z
     2A04 __imp_?setSlicingDone@Netlib@@QEAAX_N@Z
     24BE ?init@Netlib@@AEAAXXZ
     24BE __imp_?init@Netlib@@AEAAXXZ
     22AA ?getOsName@Netlib@@AEAA?AVQString@@XZ
     22AA __imp_?getOsName@Netlib@@AEAA?AVQString@@XZ
     2090 ?discoveryFinished@Netlib@@AEAAXXZ
     2090 __imp_?discoveryFinished@Netlib@@AEAAXXZ
     2B06 ?slicerFinished@Netlib@@AEAAXXZ
     2B06 __imp_?slicerFinished@Netlib@@AEAAXXZ
     1F80 ?agentLogReady@Netlib@@AEAAXXZ
     1F80 __imp_?agentLogReady@Netlib@@AEAAXXZ
     2430 ?handleSlicingInProgressChanged@Netlib@@AEAAX_N@Z
     2430 __imp_?handleSlicingInProgressChanged@Netlib@@AEAAX_N@Z
     232C ?getSlicerProgress@Netlib@@AEAAXXZ
     232C __imp_?getSlicerProgress@Netlib@@AEAAXXZ
     23AA ?getSlicerProgressFinished@Netlib@@AEAAXXZ
     23AA __imp_?getSlicerProgressFinished@Netlib@@AEAAXXZ
     1E9A __imp_??_7Netlib@@6B@
     2636 ?metaObject@Netlib@@UEBAPEBUQMetaObject@@XZ
     2636 __imp_?metaObject@Netlib@@UEBAPEBUQMetaObject@@XZ
     2752 ?qt_metacast@Netlib@@UEAAPEAXPEBD@Z
     2752 __imp_?qt_metacast@Netlib@@UEAAPEAXPEBD@Z
     26BE ?qt_metacall@Netlib@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z
     26BE __imp_?qt_metacall@Netlib@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z
     27D2 ?qt_static_metacall@Netlib@@CAXPEAVQObject@@W4Call@QMetaObject@@HPEAPEAX@Z
     27D2 __imp_?qt_static_metacall@Netlib@@CAXPEAVQObject@@W4Call@QMetaObject@@HPEAPEAX@Z
     2190 ?discoveryInProgressChanged@Netlib@@QEAAX_N@Z
     2190 __imp_?discoveryInProgressChanged@Netlib@@QEAAX_N@Z
     221A ?discoveryResultChanged@Netlib@@QEAAXVQJsonArray@@@Z
     221A __imp_?discoveryResultChanged@Netlib@@QEAAXVQJsonArray@@@Z
     2CFE ?slicingInProgressChanged@Netlib@@QEAAX_N@Z
     2CFE __imp_?slicingInProgressChanged@Netlib@@QEAAX_N@Z
     25B0 ?layerIDChanged@Netlib@@QEAAXVQString@@@Z
     25B0 __imp_?layerIDChanged@Netlib@@QEAAXVQString@@@Z
     2BFC ?slicingDoneChanged@Netlib@@QEAAX_N@Z
     2BFC __imp_?slicingDoneChanged@Netlib@@QEAAX_N@Z
     2D86 __imp_?staticMetaObject@Netlib@@2UQMetaObject@@B

Archive member name at C82: /
FFFFFFFF time/date
         uid
         gid
       0 mode
     C4B size
correct header end

    37 offsets

        1     190A
        2     1B30
        3     1C66
        4     2878
        5     2E0C
        6     2E8A
        7     1DBE
        8     1E2C
        9     1F06
        A     1FFA
        B     210E
        C     28FC
        D     2C7E
        E     2A82
        F     2530
       10     2982
       11     2B82
       12     2A04
       13     24BE
       14     22AA
       15     2090
       16     2B06
       17     1F80
       18     2430
       19     232C
       1A     23AA
       1B     1E9A
       1C     2636
       1D     2752
       1E     26BE
       1F     27D2
       20     2190
       21     221A
       22     2CFE
       23     25B0
       24     2BFC
       25     2D86

    69 public symbols

        7 ??0Netlib@@QEAA@XZ
        8 ??1Netlib@@UEAA@XZ
        9 ?agentDiscover@Netlib@@QEAAXXZ
       17 ?agentLogReady@Netlib@@AEAAXXZ
        A ?agentSlice@Netlib@@QEAA_NAEBVQUrl@@AEBVQString@@V3@222@Z
       15 ?discoveryFinished@Netlib@@AEAAXXZ
        B ?discoveryInProgress@Netlib@@QEBA_NXZ
       20 ?discoveryInProgressChanged@Netlib@@QEAAX_N@Z
       21 ?discoveryResultChanged@Netlib@@QEAAXVQJsonArray@@@Z
       14 ?getOsName@Netlib@@AEAA?AVQString@@XZ
       19 ?getSlicerProgress@Netlib@@AEAAXXZ
       1A ?getSlicerProgressFinished@Netlib@@AEAAXXZ
       18 ?handleSlicingInProgressChanged@Netlib@@AEAAX_N@Z
       13 ?init@Netlib@@AEAAXXZ
        F ?layerID@Netlib@@QEBA?AVQString@@XZ
       23 ?layerIDChanged@Netlib@@QEAAXVQString@@@Z
       1C ?metaObject@Netlib@@UEBAPEBUQMetaObject@@XZ
       1E ?qt_metacall@Netlib@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z
       1D ?qt_metacast@Netlib@@UEAAPEAXPEBD@Z
       1F ?qt_static_metacall@Netlib@@CAXPEAVQObject@@W4Call@QMetaObject@@HPEAPEAX@Z
        4 ?registerNetLibraryQML@NetLibrary@@YAXXZ
        C ?setDiscoveryInProgress@Netlib@@QEAAX_N@Z
       10 ?setLayerID@Netlib@@QEAAXVQString@@@Z
       12 ?setSlicingDone@Netlib@@QEAAX_N@Z
        E ?setSlicingInProgress@Netlib@@QEAAX_N@Z
       16 ?slicerFinished@Netlib@@AEAAXXZ
       11 ?slicingDone@Netlib@@QEBA_NXZ
       24 ?slicingDoneChanged@Netlib@@QEAAX_N@Z
        D ?slicingInProgress@Netlib@@QEBA_NXZ
       22 ?slicingInProgressChanged@Netlib@@QEAAX_N@Z
        5 ?tr@Netlib@@SA?AVQString@@PEBD0H@Z
        6 ?trUtf8@Netlib@@SA?AVQString@@PEBD0H@Z
        1 __IMPORT_DESCRIPTOR_netlib
        2 __NULL_IMPORT_DESCRIPTOR
        7 __imp_??0Netlib@@QEAA@XZ
        8 __imp_??1Netlib@@UEAA@XZ
       1B __imp_??_7Netlib@@6B@
        9 __imp_?agentDiscover@Netlib@@QEAAXXZ
       17 __imp_?agentLogReady@Netlib@@AEAAXXZ
        A __imp_?agentSlice@Netlib@@QEAA_NAEBVQUrl@@AEBVQString@@V3@222@Z
       15 __imp_?discoveryFinished@Netlib@@AEAAXXZ
        B __imp_?discoveryInProgress@Netlib@@QEBA_NXZ
       20 __imp_?discoveryInProgressChanged@Netlib@@QEAAX_N@Z
       21 __imp_?discoveryResultChanged@Netlib@@QEAAXVQJsonArray@@@Z
       14 __imp_?getOsName@Netlib@@AEAA?AVQString@@XZ
       19 __imp_?getSlicerProgress@Netlib@@AEAAXXZ
       1A __imp_?getSlicerProgressFinished@Netlib@@AEAAXXZ
       18 __imp_?handleSlicingInProgressChanged@Netlib@@AEAAX_N@Z
       13 __imp_?init@Netlib@@AEAAXXZ
        F __imp_?layerID@Netlib@@QEBA?AVQString@@XZ
       23 __imp_?layerIDChanged@Netlib@@QEAAXVQString@@@Z
       1C __imp_?metaObject@Netlib@@UEBAPEBUQMetaObject@@XZ
       1E __imp_?qt_metacall@Netlib@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z
       1D __imp_?qt_metacast@Netlib@@UEAAPEAXPEBD@Z
       1F __imp_?qt_static_metacall@Netlib@@CAXPEAVQObject@@W4Call@QMetaObject@@HPEAPEAX@Z
        4 __imp_?registerNetLibraryQML@NetLibrary@@YAXXZ
        C __imp_?setDiscoveryInProgress@Netlib@@QEAAX_N@Z
       10 __imp_?setLayerID@Netlib@@QEAAXVQString@@@Z
       12 __imp_?setSlicingDone@Netlib@@QEAAX_N@Z
        E __imp_?setSlicingInProgress@Netlib@@QEAAX_N@Z
       16 __imp_?slicerFinished@Netlib@@AEAAXXZ
       11 __imp_?slicingDone@Netlib@@QEBA_NXZ
       24 __imp_?slicingDoneChanged@Netlib@@QEAAX_N@Z
        D __imp_?slicingInProgress@Netlib@@QEBA_NXZ
       22 __imp_?slicingInProgressChanged@Netlib@@QEAAX_N@Z
       25 __imp_?staticMetaObject@Netlib@@2UQMetaObject@@B
        5 __imp_?tr@Netlib@@SA?AVQString@@PEBD0H@Z
        6 __imp_?trUtf8@Netlib@@SA?AVQString@@PEBD0H@Z
        3 netlib_NULL_THUNK_DATA

  Summary

          C0 .debug$S
          14 .idata$2
          14 .idata$3
           8 .idata$4
           8 .idata$5
           C .idata$6
</code></pre>
]]></description><link>https://forum.qt.io/post/516931</link><guid isPermaLink="true">https://forum.qt.io/post/516931</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Tue, 12 Mar 2019 07:25:53 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Mon, 11 Mar 2019 20:27:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/m3g1dd">@<bdi>m3g1dd</bdi></a> While checking the <code>netlib</code> DLL is a good thing for avoiding failures when launching your application.exe (when the .dll is loaded), here the error occurs not when running the app, but when linking it, So the .dll is immaterial, you could instead check the <code>netlib.lib</code> file, that's what the linker is reading.</p>
<p dir="auto">Dependency Walker isn't well suited for reading .lib files,  but there's a tool in MSVC2017 called <code>dumpbin</code>, easiest is to start it from a Developer Command Prompt for VS 2017.  To get the complete information, use the /linkermember switch, say like this:</p>
<pre><code>dumpbin /linkermember netlib.lib
</code></pre>
<p dir="auto">Then check in the list if that symbol is exported, it should be 2 of them, one __imp?registerNetLibraryQML@NetLibrary@@YAXXZ and one ?registerNetLibraryQML@NetLibrary@@YAXXZ</p>
]]></description><link>https://forum.qt.io/post/516858</link><guid isPermaLink="true">https://forum.qt.io/post/516858</guid><dc:creator><![CDATA[hskoglund]]></dc:creator><pubDate>Mon, 11 Mar 2019 20:27:07 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Mon, 11 Mar 2019 12:43:51 GMT]]></title><description><![CDATA[<p dir="auto">I've no idea - does the linker really links against the import lib? Are other functions from within the library are resolved?</p>
]]></description><link>https://forum.qt.io/post/516734</link><guid isPermaLink="true">https://forum.qt.io/post/516734</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Mon, 11 Mar 2019 12:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Mon, 11 Mar 2019 11:29:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christian-ehrlicher">@<bdi>Christian-Ehrlicher</bdi></a></p>
<p dir="auto">I double-checked my <code>netlib</code> DLL with dependency walker, I can see the export:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/094c2d03-6287-41c7-a2ad-55f200845890.png" alt="0_1552303570459_5fc43f6a-1a49-4307-b5b4-156b5e8b1a6c-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Also, on my <code>main.obj</code> I can see the import:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/5df550bf-fda6-44cc-a879-414c35692e05.png" alt="0_1552303780368_7fcee3d7-1947-477a-8391-4ff3c54e5ef9-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/post/516714</link><guid isPermaLink="true">https://forum.qt.io/post/516714</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Mon, 11 Mar 2019 11:29:51 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Mon, 11 Mar 2019 10:43:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christian-ehrlicher">@<bdi>Christian-Ehrlicher</bdi></a></p>
<p dir="auto">Good idea :) I'm going to employ dependency walker tools</p>
]]></description><link>https://forum.qt.io/post/516708</link><guid isPermaLink="true">https://forum.qt.io/post/516708</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Mon, 11 Mar 2019 10:43:25 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Mon, 11 Mar 2019 10:30:22 GMT]]></title><description><![CDATA[<p dir="auto">Maybe the function is not properly exported? Maybe take a look at the exported function declarations with Dependency Walker - make sure the export string (_imp?registerNetLibraryQML@NetLibrary@@YAXXZ) shown there looks exactly the same.</p>
]]></description><link>https://forum.qt.io/post/516706</link><guid isPermaLink="true">https://forum.qt.io/post/516706</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Mon, 11 Mar 2019 10:30:22 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Mon, 11 Mar 2019 07:54:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christian-ehrlicher">@<bdi>Christian-Ehrlicher</bdi></a></p>
<p dir="auto">Thanks :) The strange point is that I have two more libraries which I'm linking against with the same approach without any issue. But only this <code>net library</code> is giving me troubles!</p>
]]></description><link>https://forum.qt.io/post/516658</link><guid isPermaLink="true">https://forum.qt.io/post/516658</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Mon, 11 Mar 2019 07:54:31 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Mon, 11 Mar 2019 06:53:48 GMT]]></title><description><![CDATA[<p dir="auto">MSVC needs the correct path instead -L and -l afaik<br />
<a href="https://doc.qt.io/qt-5/qmake-variable-reference.html#libs" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/qmake-variable-reference.html#libs</a></p>
]]></description><link>https://forum.qt.io/post/516623</link><guid isPermaLink="true">https://forum.qt.io/post/516623</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Mon, 11 Mar 2019 06:53:48 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Mon, 11 Mar 2019 06:12:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christian-ehrlicher">@<bdi>Christian-Ehrlicher</bdi></a></p>
<p dir="auto">The compile which I'm using is <code>MSVC2017_64bit</code> :</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/ac26f1c9-6fbf-49fc-82a0-797f1de5d8b3.png" alt="0_1552284678534_5763dfd5-db4b-4072-a483-eb3481b83aca-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/9c09f39a-6bac-4dd6-9c36-b4674c18e97c.png" alt="0_1552284745737_5357e532-9eb7-4db9-beac-bcf8f1db78e0-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/post/516608</link><guid isPermaLink="true">https://forum.qt.io/post/516608</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Mon, 11 Mar 2019 06:12:46 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Mon, 11 Mar 2019 06:08:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christian-ehrlicher">@<bdi>Christian-Ehrlicher</bdi></a></p>
<p dir="auto">The linking to net-library is done inside <code>*.pro</code> file:</p>
<pre><code>win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../netlib/release/ -lnetlib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../netlib/debug/ -lnetlib
else:unix: LIBS += -L$$OUT_PWD/../netlib/ -lnetlib

INCLUDEPATH += $$PWD/../netlib
DEPENDPATH += $$PWD/../netlib
</code></pre>
]]></description><link>https://forum.qt.io/post/516605</link><guid isPermaLink="true">https://forum.qt.io/post/516605</guid><dc:creator><![CDATA[m3g1dd]]></dc:creator><pubDate>Mon, 11 Mar 2019 06:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.11.3 works fine, but Qt 5.12.1 throws LINKER errors on Sun, 10 Mar 2019 14:09:38 GMT]]></title><description><![CDATA[<p dir="auto">So how to you link against the netlib library? Are you sure the netlib library is linked with the same compiler as Qt?</p>
]]></description><link>https://forum.qt.io/post/516502</link><guid isPermaLink="true">https://forum.qt.io/post/516502</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Sun, 10 Mar 2019 14:09:38 GMT</pubDate></item></channel></rss>