<div dir="ltr">Not sure if that helps, but i got same error with _shared_ linkage when library didn't exported any symbols due to incorrect defines passed to the linker (Q_DECL_EXPORT/Q_DECL_IMPORT); in that case linker doesn't create an empty .lib file (is that a QBS bug, btw?). So you can try checking if the library is statically build or it still tries to build a shared lib somehow.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-08-06 16:16 GMT+03:00 Dorian Jicquel <span dir="ltr"><<a href="mailto:dorian.jicquel@mana-sys.fr" target="_blank">dorian.jicquel@mana-sys.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Here you go : <br>
    </p>
    <p><br>
    </p>
    <p><span style="color:#000000">C:\Program Files (x86)\Microsoft
        Visual Studio 12.0\VC\BIN/link.exe /nologo /DEBUG
        /PDB:untitled2.pdb /MACHINE:X86 /APPCONTAINER:NO /OSVERSION:5.01
        "/SUBSYSTEM:CONSOLE,5.01" /MANIFEST:embed
C:\Users\djicquel\Documents\<wbr>build-untitled2-Qt_5_4_1_Mana_<wbr>32-Debug\qtc_Qt_5_4_1_Mana_32_<wbr>Debug\untitled2.57dd9e61\<wbr>3a52ce780950d4d9\main.cpp.obj
C:\Users\djicquel\Documents\<wbr>build-untitled2-Qt_5_4_1_Mana_<wbr>32-Debug\qtc_Qt_5_4_1_Mana_32_<wbr>Debug\untitled2.57dd9e61\<wbr>3a52ce780950d4d9\qrc_qml.cpp.<wbr>obj
        C:\Qt\qt-5.4.1-mana\msvc2013\<wbr>lib\Qt5Cored.lib
        C:\Qt\qt-5.4.1-mana\msvc2013\<wbr>lib\Qt5Guid.lib
        C:\Qt\qt-5.4.1-mana\msvc2013\<wbr>lib\Qt5Networkd.lib
        C:\Qt\qt-5.4.1-mana\msvc2013\<wbr>lib\Qt5Qmld.lib
        C:\Qt\qt-5.4.1-mana\msvc2013\<wbr>lib\Qt5Quickd.lib Shell32.lib
        C:\Qt\qt-5.4.1-mana\msvc2013\<wbr>lib\qtmaind.lib
/OUT:C:\Users\djicquel\<wbr>Documents\build-untitled2-Qt_<wbr>5_4_1_Mana_32-Debug\qtc_Qt_5_<wbr>4_1_Mana_32_Debug\untitled2.<wbr>57dd9e61\untitled2.exe
        /LIBPATH:C:\Qt\qt-5.4.1-mana\<wbr>msvc2013\lib</span></p>
    <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#000000">LINK : fatal error LNK1104: cannot open
        file 'libcpmtd.lib'</span></p><span class="HOEnZb"><font color="#888888">
    <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#000000"><br>
      </span></p>
    <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#000000"><br>
      </span></p>
    <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#000000">Dorian.<br>
      </span></p></font></span><div><div class="h5">
    <br>
    <div class="m_7741862845589529826moz-cite-prefix">Le 06/08/2018 à 15:14, Christian
      Kandeler a écrit :<br>
    </div>
    <blockquote type="cite">
      <pre>On Mon, 6 Aug 2018 14:56:48 +0200
Dorian Jicquel <a class="m_7741862845589529826moz-txt-link-rfc2396E" href="mailto:dorian.jicquel@mana-sys.fr" target="_blank"><dorian.jicquel@mana-sys.fr></a> wrote:

</pre>
      <blockquote type="cite">
        <pre>Since Qbs 1.12 i have some troubles compiling projects with 
cpp.runtimeLibrary:"static" enabled under msvc2013 ( i use build tools ).

Everything works fine with msvc2015 so i don't know if it's related to 
my setup but since it used to work before i'm not sure of it.

Here is the error message : *cannot open file 'libcpmtd.lib'.*
</pre>
      </blockquote>
      <pre>What does the command line that causes the error look like?


Christian
______________________________<wbr>_________________
Qbs mailing list
<a class="m_7741862845589529826moz-txt-link-abbreviated" href="mailto:Qbs@qt-project.org" target="_blank">Qbs@qt-project.org</a>
<a class="m_7741862845589529826moz-txt-link-freetext" href="http://lists.qt-project.org/mailman/listinfo/qbs" target="_blank">http://lists.qt-project.org/<wbr>mailman/listinfo/qbs</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
Qbs mailing list<br>
<a href="mailto:Qbs@qt-project.org">Qbs@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/qbs" rel="noreferrer" target="_blank">http://lists.qt-project.org/<wbr>mailman/listinfo/qbs</a><br>
<br></blockquote></div><br></div>