<div dir="ltr"><div class="gmail_extra">> <a href="https://git.reviewboard.kde.org/r/121094/">https://git.reviewboard.kde.org/r/121094/</a><br><br></div><div class="gmail_extra">This change fails to compile on Windows, because the unit test has ktexttohtml.cpp as a source file *and* it's linking to the kcoreaddons library which obviously defines the same function. In addition, ktexttohtml.h in this context is declaring the function as __declspec(dllimport), so it expects them to find the function in a linked library. All this causes a multiple definition error when linking the unit test.<br><br></div><div class="gmail_extra">I see it's being done this way in order to test the private API, but I'm not sure how to fix it.<br><br>Is anyone else testing non-exported API in KF5?<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">Nicolás</div>
</div></div>